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

Update deprecations and corresponding fn signatures #231

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

carolineechen
Copy link
Collaborator

  • deprecate access_type, with warning, instead of BC-breaking (remove in future release)
  • update function signatures w/ deprecated arguments to hide those arguments
  • correct funciton_factory file name to function_factory

@carolineechen carolineechen force-pushed the cc/deprecations branch 2 times, most recently from 9e003b6 to 725d4d8 Compare December 14, 2023 19:09
@@ -377,6 +380,13 @@ def share(
f"For example: `{self.name}.to(system='s3')`"
)

if access_type:
logger.warning(
Copy link
Collaborator

Choose a reason for hiding this comment

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

use warnings instead of logger here?

@carolineechen carolineechen merged commit d957e3f into main Dec 14, 2023
3 of 4 checks passed
@carolineechen carolineechen deleted the cc/deprecations branch December 14, 2023 19:24
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.

2 participants