-
Notifications
You must be signed in to change notification settings - Fork 75
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
Computed Values support for PUT /_api/collection/collection/properties
#268
Conversation
/_api/collection/collection/properties
/_api/collection/collection/properties
@@ -306,6 +306,7 @@ def configure( | |||
schema: Optional[Json] = None, | |||
replication_factor: Optional[int] = None, | |||
write_concern: Optional[int] = None, | |||
computed_values: Optional[Jsons] = None, |
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.
small nitpick: we have computed_values
as the parameter name here, but have computedValues
for the create_collection
method in database.py
:
https://github.com/ArangoDB-Community/python-arango/blob/main/arango/database.py#L977
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #268 +/- ##
==========================================
+ Coverage 99.01% 99.04% +0.02%
==========================================
Files 26 26
Lines 3958 3960 +2
==========================================
+ Hits 3919 3922 +3
+ Misses 39 38 -1
|
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
computed_values
parameter for thecollection.configure
methodcomputedValues
logic in theformat.format_collection
method to support unspecified attributes in a computedValue object