cognite-extractor-utils 7.2.1__py3-none-any.whl → 7.2.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cognite-extractor-utils might be problematic. Click here for more details.
- cognite/extractorutils/__init__.py +1 -1
- cognite/extractorutils/configtools/elements.py +2 -0
- {cognite_extractor_utils-7.2.1.dist-info → cognite_extractor_utils-7.2.2.dist-info}/METADATA +2 -2
- {cognite_extractor_utils-7.2.1.dist-info → cognite_extractor_utils-7.2.2.dist-info}/RECORD +6 -6
- {cognite_extractor_utils-7.2.1.dist-info → cognite_extractor_utils-7.2.2.dist-info}/LICENSE +0 -0
- {cognite_extractor_utils-7.2.1.dist-info → cognite_extractor_utils-7.2.2.dist-info}/WHEEL +0 -0
|
@@ -327,6 +327,8 @@ class CogniteConfig:
|
|
|
327
327
|
elif self.idp_authentication.tenant:
|
|
328
328
|
base_url = urljoin(self.idp_authentication.authority, self.idp_authentication.tenant)
|
|
329
329
|
kwargs["token_url"] = f"{base_url}/oauth2/v2.0/token"
|
|
330
|
+
else:
|
|
331
|
+
raise InvalidConfigError("Either token-url or tenant is required for client credentials authentication")
|
|
330
332
|
kwargs["client_id"] = self.idp_authentication.client_id
|
|
331
333
|
kwargs["client_secret"] = self.idp_authentication.secret
|
|
332
334
|
kwargs["scopes"] = self.idp_authentication.scopes
|
{cognite_extractor_utils-7.2.1.dist-info → cognite_extractor_utils-7.2.2.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cognite-extractor-utils
|
|
3
|
-
Version: 7.2.
|
|
3
|
+
Version: 7.2.2
|
|
4
4
|
Summary: Utilities for easier development of extractors for CDF
|
|
5
5
|
Home-page: https://github.com/cognitedata/python-extractor-utils
|
|
6
6
|
License: Apache-2.0
|
|
@@ -24,7 +24,7 @@ Requires-Dist: decorator (>=5.1.1,<6.0.0)
|
|
|
24
24
|
Requires-Dist: more-itertools (>=10.0.0,<11.0.0)
|
|
25
25
|
Requires-Dist: orjson (>=3.10.3,<4.0.0)
|
|
26
26
|
Requires-Dist: prometheus-client (>0.7.0,<=1.0.0)
|
|
27
|
-
Requires-Dist: psutil (>=
|
|
27
|
+
Requires-Dist: psutil (>=6.0.0,<7.0.0)
|
|
28
28
|
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
|
|
29
29
|
Requires-Dist: pyyaml (>=5.3.0,<7)
|
|
30
30
|
Requires-Dist: typing-extensions (>=3.7.4,<5)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
cognite/extractorutils/__init__.py,sha256=
|
|
1
|
+
cognite/extractorutils/__init__.py,sha256=G-4E2RTr6EDXP2zRRAR3D2oyZLbluCvTFmL3cvy4IoE,739
|
|
2
2
|
cognite/extractorutils/_inner_util.py,sha256=gmz6aqS7jDNsg8z4RHgJjMFohDLOMiaU4gMWBhg3xcE,1558
|
|
3
3
|
cognite/extractorutils/base.py,sha256=q6NU2bPec3WOasVnnIFoh-aUJudVZWZ2R6emz3IRj8Q,16391
|
|
4
4
|
cognite/extractorutils/configtools/__init__.py,sha256=L-daaqInIsmHcjb2forJeY0fW8tz1mlteOUo7IsWnrU,3059
|
|
5
5
|
cognite/extractorutils/configtools/_util.py,sha256=SZycZm_py9v9WZbDiDQbgS6_PiLtu-TtwuuH7tG2YCI,4739
|
|
6
|
-
cognite/extractorutils/configtools/elements.py,sha256=
|
|
6
|
+
cognite/extractorutils/configtools/elements.py,sha256=k6q8NXZrV3efD_8BcTQvhb7lvTvsHbX30nshQgqeIQk,21703
|
|
7
7
|
cognite/extractorutils/configtools/loaders.py,sha256=_bMEb2_WaBL_G9w5IXU5UKwSu1VGge0PPAWgfSribYI,17647
|
|
8
8
|
cognite/extractorutils/exceptions.py,sha256=XiwyNPSN0YxFYaPw7tfA63B94PL48xDK3EfdGdhgQgc,1084
|
|
9
9
|
cognite/extractorutils/metrics.py,sha256=01ZMRbDisXPxrfCSyTSEkXMsslzmZwEqw18fuu9okdc,15509
|
|
@@ -25,7 +25,7 @@ cognite/extractorutils/uploader/time_series.py,sha256=HBtQdsQoIOaL-EG5lMsaY-ORwV
|
|
|
25
25
|
cognite/extractorutils/uploader_extractor.py,sha256=E-mpVvbPg_Tk90U4S9JybV0duptJ2SXE88HB6npE3zI,7732
|
|
26
26
|
cognite/extractorutils/uploader_types.py,sha256=wxfrsiKPTzG5lmoYtQsxt8Xyj-s5HnaLl8WDzJNrazg,1020
|
|
27
27
|
cognite/extractorutils/util.py,sha256=UA6mUZ1caHd6vtA45gZXrk6cxo5cSB2PZ32bMwfEU0M,17229
|
|
28
|
-
cognite_extractor_utils-7.2.
|
|
29
|
-
cognite_extractor_utils-7.2.
|
|
30
|
-
cognite_extractor_utils-7.2.
|
|
31
|
-
cognite_extractor_utils-7.2.
|
|
28
|
+
cognite_extractor_utils-7.2.2.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
29
|
+
cognite_extractor_utils-7.2.2.dist-info/METADATA,sha256=8cw9XRHtl8RAjaiaGQFwX4i0rBFgkRidxuitf9Cx00U,5486
|
|
30
|
+
cognite_extractor_utils-7.2.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
31
|
+
cognite_extractor_utils-7.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|