cognite-extractor-utils 7.4.4__py3-none-any.whl → 7.4.5__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 +1 -1
- cognite/extractorutils/configtools/loaders.py +6 -1
- cognite/extractorutils/uploader/files.py +0 -2
- {cognite_extractor_utils-7.4.4.dist-info → cognite_extractor_utils-7.4.5.dist-info}/METADATA +1 -1
- {cognite_extractor_utils-7.4.4.dist-info → cognite_extractor_utils-7.4.5.dist-info}/RECORD +8 -8
- {cognite_extractor_utils-7.4.4.dist-info → cognite_extractor_utils-7.4.5.dist-info}/LICENSE +0 -0
- {cognite_extractor_utils-7.4.4.dist-info → cognite_extractor_utils-7.4.5.dist-info}/WHEEL +0 -0
|
@@ -334,7 +334,7 @@ class CogniteConfig:
|
|
|
334
334
|
self.idp_authentication.certificate.password,
|
|
335
335
|
)
|
|
336
336
|
if not self.idp_authentication.scopes:
|
|
337
|
-
_logger.
|
|
337
|
+
_logger.warning("No scopes configured. Authenticating with CDF is unlikely to work correctly")
|
|
338
338
|
credential_provider = OAuthClientCertificate(
|
|
339
339
|
authority_url=authority_url,
|
|
340
340
|
client_id=self.idp_authentication.client_id,
|
|
@@ -34,7 +34,12 @@ from yaml.scanner import ScannerError
|
|
|
34
34
|
|
|
35
35
|
from cognite.client import CogniteClient
|
|
36
36
|
from cognite.extractorutils.configtools._util import _to_snake_case
|
|
37
|
-
from cognite.extractorutils.configtools.elements import
|
|
37
|
+
from cognite.extractorutils.configtools.elements import (
|
|
38
|
+
BaseConfig,
|
|
39
|
+
ConfigType,
|
|
40
|
+
TimeIntervalConfig,
|
|
41
|
+
_BaseConfig,
|
|
42
|
+
)
|
|
38
43
|
from cognite.extractorutils.exceptions import InvalidConfigError
|
|
39
44
|
|
|
40
45
|
_logger = logging.getLogger(__name__)
|
|
@@ -296,7 +296,6 @@ class IOFileUploadQueue(AbstractUploadQueue):
|
|
|
296
296
|
if isinstance(file_meta, CogniteExtractorFileApply):
|
|
297
297
|
node_id = self._apply_cognite_file(file_meta)
|
|
298
298
|
identifiers = IdentifierSequence.load(instance_ids=node_id).as_singleton()
|
|
299
|
-
self.cdf_client.files._warn_alpha()
|
|
300
299
|
res = self.cdf_client.files._post(
|
|
301
300
|
url_path="/files/multiuploadlink",
|
|
302
301
|
json={"items": identifiers.as_dicts()},
|
|
@@ -420,7 +419,6 @@ class IOFileUploadQueue(AbstractUploadQueue):
|
|
|
420
419
|
)
|
|
421
420
|
|
|
422
421
|
def _create_cdm(self, instance_id: NodeId) -> tuple[FileMetadata, str]:
|
|
423
|
-
self.cdf_client.files._warn_alpha()
|
|
424
422
|
identifiers = IdentifierSequence.load(instance_ids=instance_id).as_singleton()
|
|
425
423
|
res = self.cdf_client.files._post(
|
|
426
424
|
url_path="/files/uploadlink",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
cognite/extractorutils/__init__.py,sha256=
|
|
1
|
+
cognite/extractorutils/__init__.py,sha256=j3UTB11cr5xcHP3Q_d2ejKzAM-5jI5NV5SKr_OkRHrM,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=
|
|
7
|
-
cognite/extractorutils/configtools/loaders.py,sha256=
|
|
6
|
+
cognite/extractorutils/configtools/elements.py,sha256=qGEsLMWWed4XXUjN4d-LGArd3FPs2tR5eT-t317vBTQ,23395
|
|
7
|
+
cognite/extractorutils/configtools/loaders.py,sha256=39P_VY2LMuM-Du24WZ5q9rlOG7rG2KCT-KoCYE2Z_8U,17668
|
|
8
8
|
cognite/extractorutils/exceptions.py,sha256=1PgvW1FrgVnuNtkwC0RTvG1-FZp1qmBuYrY1AWW-BJc,1188
|
|
9
9
|
cognite/extractorutils/metrics.py,sha256=01ZMRbDisXPxrfCSyTSEkXMsslzmZwEqw18fuu9okdc,15509
|
|
10
10
|
cognite/extractorutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -23,13 +23,13 @@ cognite/extractorutils/uploader/_metrics.py,sha256=J2LJXb19L_SLSJ_voNIQHYLp0pjxU
|
|
|
23
23
|
cognite/extractorutils/uploader/assets.py,sha256=2E90N1kxsaA6Ah4h0_r_dTVhDYY_68ItRWrHYkkltJw,5628
|
|
24
24
|
cognite/extractorutils/uploader/data_modeling.py,sha256=w35Ix5mu0Cgfn4ywnDyif4VVjo04LVTlkMEevk6ztUs,3639
|
|
25
25
|
cognite/extractorutils/uploader/events.py,sha256=NZP2tMoU_rh_rb-EZiUBsOT5KdNABHN4c9Oddk0OsdE,5680
|
|
26
|
-
cognite/extractorutils/uploader/files.py,sha256=
|
|
26
|
+
cognite/extractorutils/uploader/files.py,sha256=Q4eo47SZ04GOcVg3doswEofI0LsQm4j3zDXpzAlJThg,21649
|
|
27
27
|
cognite/extractorutils/uploader/raw.py,sha256=wFjF90PFTjmByOWx_Y4_YfDJ2w2jl0EQJ2Tjx2MP2PM,6738
|
|
28
28
|
cognite/extractorutils/uploader/time_series.py,sha256=HBtQdsQoIOaL-EG5lMsaY-ORwVb0kGiXG86VjE5-_Bg,26815
|
|
29
29
|
cognite/extractorutils/uploader_extractor.py,sha256=E-mpVvbPg_Tk90U4S9JybV0duptJ2SXE88HB6npE3zI,7732
|
|
30
30
|
cognite/extractorutils/uploader_types.py,sha256=wxfrsiKPTzG5lmoYtQsxt8Xyj-s5HnaLl8WDzJNrazg,1020
|
|
31
31
|
cognite/extractorutils/util.py,sha256=T6ef5b7aYJ8yq9swQwybYaLe3YGr3hElsJQy8E-d5Rs,17469
|
|
32
|
-
cognite_extractor_utils-7.4.
|
|
33
|
-
cognite_extractor_utils-7.4.
|
|
34
|
-
cognite_extractor_utils-7.4.
|
|
35
|
-
cognite_extractor_utils-7.4.
|
|
32
|
+
cognite_extractor_utils-7.4.5.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
33
|
+
cognite_extractor_utils-7.4.5.dist-info/METADATA,sha256=WqtbfJ4YmEG_OqT4nXJn2ciMzHaH9l4oK-bPWQ_HonE,5557
|
|
34
|
+
cognite_extractor_utils-7.4.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
35
|
+
cognite_extractor_utils-7.4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|