Kedro: Remove quotation marks (Part 2)

Created on 26 Jul 2020  路  3Comments  路  Source: quantumblacklabs/kedro

Description

  • We've had many authors of our documentation and this is sometimes reflected in stylistic differences
  • We want to move everything to the same style
  • For this exercise, you need to remove quotation marks from code that is documented here, you need to scroll down the page to find it in this section #460 covers working on the first code block

Actual Result

Here's what the entry country looks like:

# conf/base/catalog.yml

my_partitioned_dataset:
  type: "PartitionedDataSet"
  path: "s3://my-bucket-name/path/to/folder"
  dataset:  # full dataset config notation
    type: "pandas.CSVDataSet"
    load_args:
      delimiter: ","
    save_args:
      index: false
  credentials: "my_credentials"
  load_args:
    load_arg1: "value1"
    load_arg2: "value2"
  filepath_arg: "filepath"  # the argument of the dataset to pass the filepath to
  filename_suffix: ".csv"

Expected Result

Here's what we'd like it to look like, note that if the entry has some sort of punctuation then the quotation marks remain:

# conf/base/catalog.yml

my_partitioned_dataset:
  type: PartitionedDataSet
  path: s3://my-bucket-name/path/to/folder
  dataset:  # full dataset config notation
    type: pandas.CSVDataSet
    load_args:
      delimiter: ","
    save_args:
      index: false
  credentials: my_credentials
  load_args:
    load_arg1: value1
    load_arg2: value2
  filepath_arg: filepath  # the argument of the dataset to pass the filepath to
  filename_suffix: ".csv"
Starter Bug Report Documentation good first issue

All 3 comments

I'll work on this

Should this change include removing the quotation marks found in the "Checkpoint configuration" section?

my_partitioned_dataset:
  type: "IncrementalDataSet"
  path: "s3://my-bucket-name/path/to/folder"
  dataset: "pandas.CSVDataSet"
  checkpoint: "2020-01-01/data.csv"

It would be great is you could handle this section too @s-mawjee!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adslwang4601 picture adslwang4601  路  3Comments

applelok picture applelok  路  3Comments

yetudada picture yetudada  路  4Comments

josephhaaga picture josephhaaga  路  3Comments

crypdick picture crypdick  路  3Comments