Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve spaces on code samples #325

Merged
merged 1 commit into from
May 9, 2023
Merged

improve spaces on code samples #325

merged 1 commit into from
May 9, 2023

Conversation

TyDunn
Copy link
Collaborator

@TyDunn TyDunn commented May 9, 2023

No description provided.

@netlify
Copy link

netlify bot commented May 9, 2023

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit 0123e62
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/645a5b8a8903210007b2b552
😎 Deploy Preview https://deploy-preview-325--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

# do stuff: get data and add new values to the list
# Get a last value from loaded metadata. If not exist, get None
loaded_dates = dlt.current.state().setdefault("days_loaded", [])
# do stuff: get data and add new values to the list
# `loaded_date` is a shallow copy of the `dlt.current.state()["days_loaded"]` list
# and thus modifying it modifies the state
yield data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the line loaded_dates.append('2023-01-01') should also be edited

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it has two spaces like it should? I will merge and we can fix it later if needed

@TyDunn TyDunn merged commit 6085aaf into devel May 9, 2023
20 checks passed
@rudolfix rudolfix deleted the alena-spacing-feedback branch May 20, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants