castor-extractor 0.17.3__py3-none-any.whl → 0.17.4__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 castor-extractor might be problematic. Click here for more details.

CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.17.4 - 2024-07-03
4
+
5
+ * Sigma: Add `input-table`, `pivot-table` and `viz` in the list of supported **Elements**
6
+
3
7
  ## 0.17.3 - 2024-06-24
4
8
 
5
9
  * Databricks: extract tags for tables and column
@@ -2,6 +2,8 @@
2
2
  Request timeout in seconds for Looker API
3
3
  """
4
4
 
5
+ from looker_sdk.error import SDKError # type: ignore
6
+
5
7
  DEFAULT_LOOKER_TIMEOUT_SECOND = 120
6
8
  KEY_LOOKER_TIMEOUT_SECOND = "CASTOR_LOOKER_TIMEOUT_SECOND"
7
9
 
@@ -23,3 +25,9 @@ CLIENT_ID = "CASTOR_LOOKER_CLIENT_ID"
23
25
  CLIENT_SECRET = "CASTOR_LOOKER_CLIENT_SECRET" # noqa: S105
24
26
  SEARCH_PER_FOLDER = "CASTOR_LOOKER_SEARCH_PER_FOLDER"
25
27
  LOG_TO_STDOUT = "CASTOR_LOOKER_LOG_TO_STDOUT"
28
+
29
+ """
30
+ Safe mode parameters
31
+ """
32
+ SAFE_MODE_MAX_ERRORS = 3
33
+ SAFE_MODE_EXCEPTIONS = (SDKError,)
@@ -12,7 +12,13 @@ from .pagination import Pagination
12
12
  logger = logging.getLogger()
13
13
 
14
14
 
15
- DATA_ELEMENTS: Tuple[str, str] = ("table", "visualization")
15
+ DATA_ELEMENTS: Tuple[str, ...] = (
16
+ "input-table",
17
+ "pivot-table",
18
+ "table",
19
+ "visualization",
20
+ "viz",
21
+ )
16
22
  _CONTENT_TYPE = "application/x-www-form-urlencoded"
17
23
 
18
24
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: castor-extractor
3
- Version: 0.17.3
3
+ Version: 0.17.4
4
4
  Summary: Extract your metadata assets.
5
5
  Home-page: https://www.castordoc.com/
6
6
  License: EULA
@@ -1,4 +1,4 @@
1
- CHANGELOG.md,sha256=dxvJYXKwACP7txJdP-1Ug0G6tj34Vsd8TkEn1uuhLgs,11152
1
+ CHANGELOG.md,sha256=zKmrqoaMd1E5ht626viLJ8zXTZdkalHhJyFSOhvx23Y,11267
2
2
  Dockerfile,sha256=HcX5z8OpeSvkScQsN-Y7CNMUig_UB6vTMDl7uqzuLGE,303
3
3
  LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
4
4
  README.md,sha256=uF6PXm9ocPITlKVSh9afTakHmpLx3TvawLf-CbMP3wM,3578
@@ -120,7 +120,7 @@ castor_extractor/visualization/looker/api/sdk.py,sha256=RiCb-3BAL59iGqLfPEO9490c
120
120
  castor_extractor/visualization/looker/api/sdk_test.py,sha256=NHtKZTflPhqzBFHs1TyAQaubgxfzLLwYKFT8rEqR55I,1742
121
121
  castor_extractor/visualization/looker/api/utils.py,sha256=TJqq9UBVFtS33VB1zHzT6kU8f9MOyqXsUcr57ZurJy4,588
122
122
  castor_extractor/visualization/looker/assets.py,sha256=K08nV6MMIpfF9r91TmCO7_62smHzGRv3gR4aIOootMQ,827
123
- castor_extractor/visualization/looker/constant.py,sha256=JvmAfbyAg-LQIoI48Slg9k5T0mYggs_76D_6vD-mP88,695
123
+ castor_extractor/visualization/looker/constant.py,sha256=C3IQWs6pMHSumDVSJH-XcZe1I9z0d1zTEJljfwZllQc,840
124
124
  castor_extractor/visualization/looker/env.py,sha256=vPqirdeGKm3as2T-tBTjbpulQe8W7-3UE2j-Z57wFXk,1174
125
125
  castor_extractor/visualization/looker/extract.py,sha256=Y7ZsiUO3uaAkBX0inhjMcEXX4nyBTo9ewthtLfbQhzU,5132
126
126
  castor_extractor/visualization/looker/fields.py,sha256=WmiSehmczWTufCLg4r2Ozq2grUpzxDNvIAHyGuOoGs4,636
@@ -199,7 +199,7 @@ castor_extractor/visualization/salesforce_reporting/extract.py,sha256=5QwZwP27uX
199
199
  castor_extractor/visualization/sigma/__init__.py,sha256=m98AEysUsVHQAWT6m5nvrtLMs22SDQH9G78-IcUwBoY,130
200
200
  castor_extractor/visualization/sigma/assets.py,sha256=JZ1Cpxnml8P3mIJoTUM57hvylB18ErECQXaP5FF63O4,268
201
201
  castor_extractor/visualization/sigma/client/__init__.py,sha256=sFqsbcwilIxu75njtSbnAIsNlPdRgB39SAInNUf-nbQ,90
202
- castor_extractor/visualization/sigma/client/client.py,sha256=894tBAtKlyXHqRB4-mpyM4BgaE80T58VHbqauAmime8,7112
202
+ castor_extractor/visualization/sigma/client/client.py,sha256=x3f2LMErj_muZ8cLFuVdJbjFyOFt8zVpE-zxT7Ce72Y,7172
203
203
  castor_extractor/visualization/sigma/client/client_test.py,sha256=BdxJsmTyhslup4vePbkiaoTTaJ9RDY7UfK4OhBpu1Z4,1592
204
204
  castor_extractor/visualization/sigma/client/credentials.py,sha256=k3mtaXrBHQdBRk5J2rzFU0YUuO89uX-FjYU1WLqfmjU,797
205
205
  castor_extractor/visualization/sigma/client/endpoints.py,sha256=7yNDL0p9wZDE7CcVOj9Z1eP2tdJE1CUT9vbfSEV2kOY,1157
@@ -372,8 +372,8 @@ castor_extractor/warehouse/synapse/queries/schema.sql,sha256=aX9xNrBD_ydwl-znGSF
372
372
  castor_extractor/warehouse/synapse/queries/table.sql,sha256=mCE8bR1Vb7j7SwZW2gafcXidQ2fo1HwxcybA8wP2Kfs,1049
373
373
  castor_extractor/warehouse/synapse/queries/user.sql,sha256=sTb_SS7Zj3AXW1SggKPLNMCd0qoTpL7XI_BJRMaEpBg,67
374
374
  castor_extractor/warehouse/synapse/queries/view_ddl.sql,sha256=3EVbp5_yTgdByHFIPLHmnoOnqqLE77SrjAwFDvu4e54,249
375
- castor_extractor-0.17.3.dist-info/LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
376
- castor_extractor-0.17.3.dist-info/METADATA,sha256=v_xgS6DS7FC1kVzma9Z69XiMOjDn6BHckEJJ-rJ5TZI,6985
377
- castor_extractor-0.17.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
378
- castor_extractor-0.17.3.dist-info/entry_points.txt,sha256=SbyPk58Gh-FRztfCNnUZQ6w7SatzNJFZ6GIJLNsy7tI,1427
379
- castor_extractor-0.17.3.dist-info/RECORD,,
375
+ castor_extractor-0.17.4.dist-info/LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
376
+ castor_extractor-0.17.4.dist-info/METADATA,sha256=sEitPBWyBHFOf2L7awhHWNo-BFGB-F5SDKXNwyVlMok,6985
377
+ castor_extractor-0.17.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
378
+ castor_extractor-0.17.4.dist-info/entry_points.txt,sha256=SbyPk58Gh-FRztfCNnUZQ6w7SatzNJFZ6GIJLNsy7tI,1427
379
+ castor_extractor-0.17.4.dist-info/RECORD,,