Skip to content

Commit

Permalink
fixed indentation in the docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Minura Punchihewa <[email protected]>
  • Loading branch information
MinuraPunchihewa committed Oct 21, 2024
1 parent 2451d70 commit fe767e2
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ class ExternalTableDataset(BaseTableDataset):
Example usage for the
`YAML API <https://docs.kedro.org/en/stable/data/data_catalog_yaml_examples.html>`_:
.. code-block:: yaml
names_and_ages@spark:
type: databricks.ExternalTableDataset
format: parquet
Expand All @@ -73,9 +75,10 @@ class ExternalTableDataset(BaseTableDataset):
dataframe_type: pandas
Example usage for the
`Python API <https://docs.kedro.org/en/stable/data/\
advanced_data_catalog_usage.html>`_:
`Python API <https://docs.kedro.org/en/stable/data/advanced_data_catalog_usage.html>`_:
.. code-block:: pycon
>>> from kedro_datasets.databricks import ExternalTableDataset
>>> from pyspark.sql import SparkSession
>>> from pyspark.sql.types import IntegerType, Row, StringType, StructField, StructType
Expand Down

0 comments on commit fe767e2

Please sign in to comment.