-
Notifications
You must be signed in to change notification settings - Fork 56
fix: Updated field_info to handle deprecated warnings. #4559
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Updated field_info to handle deprecated warnings. | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -510,7 +510,7 @@ def __init__( | |||||||||
| ) | ||||||||||
| self.field_data = service_creator("field_data").create( | ||||||||||
| _session._field_data_service, | ||||||||||
| self.field_info, | ||||||||||
| self._field_info, | ||||||||||
|
||||||||||
| self._is_solution_data_valid, | ||||||||||
| _session.scheme, | ||||||||||
| get_zones_info, | ||||||||||
|
|
@@ -520,7 +520,7 @@ def __init__( | |||||||||
| ) | ||||||||||
| self.field_data_old = service_creator("field_data_old").create( | ||||||||||
| _session._field_data_service, | ||||||||||
|
Comment on lines
521
to
522
|
||||||||||
| self.field_data_old = service_creator("field_data_old").create( | |
| _session._field_data_service, | |
| # Use of the private _field_info prevents internal deprecation noise. | |
| self.field_data_old = service_creator("field_data_old").create( |
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.
Use 'deprecation warnings' instead of 'deprecated warnings' for correct terminology.