-
Notifications
You must be signed in to change notification settings - Fork 194
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
Add new standards for deprecating APIs #1365
base: main
Are you sure you want to change the base?
Conversation
f9375a3
to
c6fb7b2
Compare
c6fb7b2
to
d2ad204
Compare
pyiceberg/catalog/__init__.py
Outdated
help_message="Support for parsing catalog level identifier in Catalog identifiers is deprecated. Please refer to the table using only its namespace and its table name.", | ||
deprecate_in="0.8.0", | ||
remove_in="0.9.0", | ||
topic="Please refer to the table using only its namespace and its table name.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ndrluis Sorry for not getting to this earlier. My main concern is that we might make things more complex than necessary. Why would we not use the addendum
here? I find the prefix
and topic
not very intuitive, as in, it is not directly obvious to me how the deprecation warning will look like. That raises the question, should we reduce the number of options?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the topic attribute to 'addendum' and will improve the documentation to clarify the output message for each case.
d2ad204
to
afbc33f
Compare
Solves #1330.
@Fokko, could you check if I got the License and file headers right?