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

[MAINTENANCE] Ensure that changes made to env vars / config vars are recognized within subsequent calls of the same process #5410

Conversation

cdkini
Copy link
Member

@cdkini cdkini commented Jun 29, 2022

Changes proposed in this pull request:

  • Changes made to env vars and/or config vars should modify the context in-memory and these changes should persist for future calls within the same program.

After submitting your PR, CI checks will run and @cla-bot will check for your CLA signature.

Definition of Done

Please delete options that are not relevant.

  • My code follows the Great Expectations style guide
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added unit tests where applicable and made sure that new and existing tests are passing.

@netlify
Copy link

netlify bot commented Jun 29, 2022

Deploy Preview for niobium-lead-7998 ready!

Name Link
🔨 Latest commit ac40a28
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/62bc93439a5d2100085ad92e
😎 Deploy Preview https://deploy-preview-5410--niobium-lead-7998.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.

@cdkini cdkini self-assigned this Jun 29, 2022
@ghost
Copy link

ghost commented Jun 29, 2022

👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

Copy link
Contributor

@Shinnnyshinshin Shinnnyshinshin left a comment

Choose a reason for hiding this comment

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

Looks great. Thank you @cdkini

Comment on lines +2887 to +2894
"""
What does this test do and why?

Great Expectations recognizes changes made to environment variables within a program execution
and ensures that these changes are recognized in subsequent calls within the same process.

This is particularly relevant when performing substitutions within a user's project config.
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

love the note. Thank you

@cdkini cdkini merged commit 2672a7d into develop Jun 29, 2022
@cdkini cdkini deleted the maintenance/great-889/ensure-that-changes-to-env-vars-and-config-vars-are-recognized-in-the-same-process branch June 29, 2022 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants