-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Removed **provisional** from computed_properties #39543
Removed **provisional** from computed_properties #39543
Conversation
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.
We should add something to the changelog for this, right?
API change check APIView has identified API level changes in this PR and created following API reviews. |
yup, added to the 2025-01-24 changelog |
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.
With the new test framework, we need to now annotate every test.
Please annotate the computed properties test to be run with cosmosQuery test group, and run the live tests which can be ran by adding /azp run python - cosmos - tests
as a comment to the PR.
/azp run python - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
sdk/cosmos/azure-cosmos/test/test_query_computed_properties_async.py
Outdated
Show resolved
Hide resolved
/azp run python - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
@andrewmathew1 - since all of the tests have already passed, so you don't need to run the CI again, and get your PR in once you have made the above changes, thanks! |
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.
LGTM, thanks @andrewmathew1
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.
LGTM, Thank you!
Description
Removed provisional from computed_properties in database.py and _database.py.
Added computed_properties to function definition in database.py and _database.py.
Annotated computed_properties tests.
Added in feature of replacing computed_properties when using the replace_container method.
Added tests for replacing computed_properties.
Removed duplicate tests for computed_properties in tests_query.py and test_query_async.py.
Renamed test_query_computed_properties to test_computed_properties to reflect new tests.
Recorded changes in CHANGELOG.md.