-
Notifications
You must be signed in to change notification settings - Fork 27
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
Remove "beta" warning for Units catalog [POFSP-195] #1522
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1522 +/- ##
==========================================
+ Coverage 91.71% 91.83% +0.12%
==========================================
Files 120 120
Lines 15589 15579 -10
==========================================
+ Hits 14297 14307 +10
+ Misses 1292 1272 -20
|
f8192d9
to
85f4d78
Compare
@@ -41,7 +38,7 @@ def retrieve(self, external_id: MutableSequence[str], ignore_unknown_ids: bool = | |||
def retrieve( | |||
self, external_id: str | MutableSequence[str], ignore_unknown_ids: bool = False | |||
) -> Unit | UnitList | None: | |||
"""`Retrieve one or more unit <https://pr-50.units-api.preview.cogniteapp.com/#tag/Units/operation/retrieve_units_by_ids_api_v1_projects__project__units_byids_post>`_ | |||
"""`Retrieve one or more unit <https://developer.cognite.com/api#tag/Units/operation/byIdsUnits>`_ |
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.
None of these urls seem to work yet?
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.
no, but they will be there once we merge https://github.com/cognitedata/service-contracts/pull/2375
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.
now they work @haakonvt
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, two x nit
cognite/client/_api/units.py
Outdated
@@ -98,25 +95,22 @@ def __init__( | |||
config: ClientConfig, | |||
api_version: str | None, | |||
cognite_client: CogniteClient, | |||
warning: FeaturePreviewWarning, | |||
) -> None: | |||
super().__init__(config, api_version, cognite_client) |
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.
You can remove this entire init method now.
Co-authored-by: Håkon V. Treider <[email protected]>
Description