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] Typing render/view #8903

Merged
merged 12 commits into from Nov 1, 2023
Merged

[MAINTENANCE] Typing render/view #8903

merged 12 commits into from Nov 1, 2023

Conversation

Kilo59
Copy link
Member

@Kilo59 Kilo59 commented Oct 31, 2023

Type checking for render/view/view.py

This change includes some runtime changes, notable the removal of the NoOpTemplate and the default _template class attribute for DefaultJinjaView

Kilo59 and others added 2 commits October 31, 2023 15:50
Co-authored-by: Bill Dirks <bill.dirks@gmail.com>
Co-authored-by: Anthony Burdi <anthonyburdi@users.noreply.github.com>
Co-authored-by: T Pham <TrangPham@users.noreply.github.com>
Co-authored-by: Chetan Kini <ckini123@gmail.com>
Co-authored-by: Nathan Farmer <NathanFarmer@users.noreply.github.com>
Copy link

netlify bot commented Oct 31, 2023

Deploy Preview for niobium-lead-7998 canceled.

Name Link
🔨 Latest commit c9d098b
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/65425d630e37d800085fd25d

@Kilo59 Kilo59 self-assigned this Oct 31, 2023
@github-actions github-actions bot added the core label Oct 31, 2023
@Kilo59 Kilo59 changed the title M/ /10 31 mob typing [MAINTENANCE] Typing render/view Oct 31, 2023
@Kilo59 Kilo59 marked this pull request as ready for review October 31, 2023 20:11
Comment on lines +83 to +87
'render/renderer/v3/suite_edit_notebook_renderer\.py', # 11 - This is legacy code and will not be typed.
'render/renderer/v3/suite_profile_notebook_renderer\.py', # 4 - This is legacy code and will not be typed.
'render/renderer/suite_edit_notebook_renderer\.py', # 7 - This is legacy code and will not be typed.
'render/renderer/suite_scaffold_notebook_renderer\.py', # 7 - This is legacy code and will not be typed.
'render/renderer/datasource_new_notebook_renderer\.py', # 4 - This is legacy code and will not be typed.
Copy link
Member Author

Choose a reason for hiding this comment

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

@NathanFarmer do these look right? Am I missing anything?

Copy link
Contributor

Choose a reason for hiding this comment

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

great_expectations/render/renderer/notebook_renderer.py is now typed but should it be deleted when we remove the cli?

Copy link
Contributor

Choose a reason for hiding this comment

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

Just missing: render/renderer/checkpoint_new_notebook_renderer.py

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch. Will update both.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think notebook_renderer.py will also be removed with the CLI removal. It is the base class for the other notebook renderers.

Copy link
Contributor

@billdirks billdirks left a comment

Choose a reason for hiding this comment

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

LGTM, ty!

pyproject.toml Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Oct 31, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Copy link
Member

@anthonyburdi anthonyburdi left a comment

Choose a reason for hiding this comment

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

❤️

@Kilo59 Kilo59 added this pull request to the merge queue Nov 1, 2023
Merged via the queue into develop with commit 0ce1097 Nov 1, 2023
58 checks passed
@Kilo59 Kilo59 deleted the m/_/10_31_mob_typing branch November 1, 2023 15:11
Shinnnyshinshin added a commit that referenced this pull request Nov 1, 2023
* develop:
  [DOCS] add 'user' access token clarification to GX Cloud quickstart (#8912)
  [MAINTENANCE] Typing render/view  (#8903)
  [MAINTENANCE] Adjust timeouts for cloud-tests services (#8910)
  [DOCS] Update Section Title (#8905)
Shinnnyshinshin added a commit that referenced this pull request Nov 1, 2023
* develop:
  [MAINTENANCE] remove deprecated usage of pydantic Extra (#8896)
  [MAINTENANCE] Better error msg for refrence environments (#8913)
  [FEATURE] Expect column specified percentile value to be above a given value. (#8907)
  [DOCS] add 'user' access token clarification to GX Cloud quickstart (#8912)
  [MAINTENANCE] Typing render/view  (#8903)
  [MAINTENANCE] Adjust timeouts for cloud-tests services (#8910)
  [DOCS] Update Section Title (#8905)
  [MAINTENANCE] List checkpoints endpoint contract test (#8886)
  [MAINTENANCE] Do not skip spark tests in cloud stage (#8901)
  [MAINTENANCE] Add Expectation Suite Pact tests (#8885)
  [MAINTENANCE] Get checkpoint endpoint contract test (#8881)
  [DOCS] Update Cloud Quickstart save expectation suite example (#8893)
  [RELEASE] 0.18.0 (#8895)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants