castor-extractor 0.24.48__py3-none-any.whl → 0.24.49__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.24.49 - 2025-09-12
4
+
5
+ * Tableau: add option to bypass ssl certificate verification
6
+
3
7
  ## 0.24.48 - 2025-09-09
4
8
 
5
9
  * SqlServer: handle hyphens in database name
@@ -55,6 +55,12 @@ def main():
55
55
  dest="ignore_errors",
56
56
  help="Allow partial extraction of Fields and Columns: skip batch in case of Timeout errors",
57
57
  )
58
+ parser.add_argument(
59
+ "--ignore-ssl",
60
+ action="store_true",
61
+ dest="ignore_ssl",
62
+ help="Disable SSL verification",
63
+ )
58
64
 
59
65
  parser.add_argument("-o", "--output", help="Directory to write to")
60
66
 
@@ -102,8 +102,10 @@ def _merge_workbooks(
102
102
  def _server(
103
103
  server_url: str,
104
104
  timeout_sec: int,
105
+ ignore_ssl: bool = False,
105
106
  ) -> TSC.Server:
106
- options = {"verify": True, "timeout": timeout_sec}
107
+ verify = not ignore_ssl
108
+ options = {"verify": verify, "timeout": timeout_sec}
107
109
  server = TSC.Server(server_url, use_server_version=True)
108
110
  server.add_http_options(options)
109
111
  return server
@@ -126,9 +128,14 @@ class TableauClient:
126
128
  with_pulse: bool = False,
127
129
  override_page_size: Optional[int] = None,
128
130
  ignore_errors: bool = False,
131
+ ignore_ssl: bool = False,
129
132
  ):
130
133
  self._credentials = credentials
131
- self._server = _server(credentials.server_url, timeout_sec)
134
+ self._server = _server(
135
+ server_url=credentials.server_url,
136
+ timeout_sec=timeout_sec,
137
+ ignore_ssl=ignore_ssl,
138
+ )
132
139
  self._with_columns = with_columns
133
140
  self._with_fields = with_fields
134
141
  self._with_pulse = with_pulse
@@ -37,6 +37,7 @@ def extract_all(**kwargs) -> None:
37
37
  with_pulse = kwargs.get("with_pulse") or False
38
38
  page_size = kwargs.get("page_size")
39
39
  ignore_errors = kwargs.get("ignore_errors") or False
40
+ ignore_ssl = kwargs.get("ignore_ssl") or False
40
41
  timestamp = current_timestamp()
41
42
 
42
43
  credentials = TableauCredentials(**kwargs)
@@ -47,6 +48,7 @@ def extract_all(**kwargs) -> None:
47
48
  with_pulse=with_pulse,
48
49
  override_page_size=page_size,
49
50
  ignore_errors=ignore_errors,
51
+ ignore_ssl=ignore_ssl,
50
52
  )
51
53
  client.login()
52
54
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: castor-extractor
3
- Version: 0.24.48
3
+ Version: 0.24.49
4
4
  Summary: Extract your metadata assets.
5
5
  Home-page: https://www.castordoc.com/
6
6
  License: EULA
@@ -215,6 +215,10 @@ For any questions or bug report, contact us at [support@coalesce.io](mailto:supp
215
215
 
216
216
  # Changelog
217
217
 
218
+ ## 0.24.49 - 2025-09-12
219
+
220
+ * Tableau: add option to bypass ssl certificate verification
221
+
218
222
  ## 0.24.48 - 2025-09-09
219
223
 
220
224
  * SqlServer: handle hyphens in database name
@@ -1,4 +1,4 @@
1
- CHANGELOG.md,sha256=DOYbtl6KMcBPSjj_bVV8lyt8Q6IjnIDXecsidYxdWyw,20140
1
+ CHANGELOG.md,sha256=QFu9HzAtRHH5oVOsCIqa3Nf6tmCptJwGuzRpAdH9goA,20227
2
2
  Dockerfile,sha256=xQ05-CFfGShT3oUqaiumaldwA288dj9Yb_pxofQpufg,301
3
3
  DockerfileUsage.md,sha256=2hkJQF-5JuuzfPZ7IOxgM6QgIQW7l-9oRMFVwyXC4gE,998
4
4
  LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
@@ -26,7 +26,7 @@ castor_extractor/commands/extract_sigma.py,sha256=sxewHcZ1Doq35V2qnpX_zCKKXkrb1_
26
26
  castor_extractor/commands/extract_snowflake.py,sha256=GwlrRxwEBjHqGs_3bs5vM9fzmv61_iwvBr1KcIgFgWM,2161
27
27
  castor_extractor/commands/extract_sqlserver.py,sha256=zwPITImztIIyIbZJyE1SioGraVrlRfxgLq_vHX6l5l0,1664
28
28
  castor_extractor/commands/extract_strategy.py,sha256=Q-pUymatPrBFGXobhyUPzFph0-t774-XOpjdCFF1dYo,821
29
- castor_extractor/commands/extract_tableau.py,sha256=LNtI29LbVk1vp4RNrn89GmdW6R_7QBYunRmkowDhbco,1982
29
+ castor_extractor/commands/extract_tableau.py,sha256=cfH-b0Hq9LGrQSJv02Yr_4d6oNqhxwDqUcKraE-5fRc,2134
30
30
  castor_extractor/commands/extract_thoughtspot.py,sha256=caAYJlH-vK7u5IUB6OKXxcaWfLgc7d_XqnFDWK6YNS4,639
31
31
  castor_extractor/commands/file_check.py,sha256=TJx76Ymd0QCECmq35zRJMkPE8DJtSInB28MuSXWk8Ao,2644
32
32
  castor_extractor/commands/upload.py,sha256=sqpEF_qqCNvT_niIrM6jPhzLaFVjtYwpc2iZw540F20,1633
@@ -290,7 +290,7 @@ castor_extractor/visualization/strategy/extract.py,sha256=9Ec48BwiA-5nykhcQiqkSi
290
290
  castor_extractor/visualization/tableau/__init__.py,sha256=eFI_1hjdkxyUiAYiy3szwyuwn3yJ5C_KbpBU0ySJDcQ,138
291
291
  castor_extractor/visualization/tableau/assets.py,sha256=HbCRd8VCj1WBEeqg9jwnygnT7xOFJ6PQD7Lq7sV-XR0,635
292
292
  castor_extractor/visualization/tableau/client/__init__.py,sha256=P8RKFKOC63WkH5hdEytJOwHS9vzQ8GXreLfXZetmMP8,78
293
- castor_extractor/visualization/tableau/client/client.py,sha256=QV-GFS4nEq976JLji57pIfsw2ZZaGTvfCFqy6_HOWMg,8204
293
+ castor_extractor/visualization/tableau/client/client.py,sha256=110snIGR-Qi3c9zLAjhubSMDU9JB_WtfnFZLdByKpZY,8391
294
294
  castor_extractor/visualization/tableau/client/client_metadata_api.py,sha256=eAq9rjrB_2ZCQy9NwREHBOTXZffWdkwtwhzswm1pEfk,7449
295
295
  castor_extractor/visualization/tableau/client/client_metadata_api_test.py,sha256=rikyQKDLFYHLJhHJTF3LwWhKJ80svtTsYp5n7n9oTU8,2665
296
296
  castor_extractor/visualization/tableau/client/client_rest_api.py,sha256=x4dNw4PPJdalTlGowwkANwqiS2ZhGxzpQytkHq3KbpY,3988
@@ -300,7 +300,7 @@ castor_extractor/visualization/tableau/client/errors.py,sha256=ecT8Tit5VtzrOBB9y
300
300
  castor_extractor/visualization/tableau/client/gql_queries.py,sha256=XJAfhpMZ5S7-AhfpOaoHMHCAdil-l5e5xB-CH4NC38M,2177
301
301
  castor_extractor/visualization/tableau/client/rest_fields.py,sha256=ZKYYuMxg9PXhczVXaD4rXNk7dYyWJ1_bVM8FLEXju7s,888
302
302
  castor_extractor/visualization/tableau/constants.py,sha256=lHGB50FgVNO2nXeIhkvQKivD8ZFBIjDrflgD5cTXKJw,104
303
- castor_extractor/visualization/tableau/extract.py,sha256=9mSHFJ2DGlW-cDYiRZlJafAgj4_ObACxO0l9vBBfjUw,1683
303
+ castor_extractor/visualization/tableau/extract.py,sha256=3NaOwEhKA_Oc9mc-uESrjISez4XFQxQaq4X4fUMv_VM,1765
304
304
  castor_extractor/visualization/thoughtspot/__init__.py,sha256=NhTGUk5Kdt54oCjHYoAt0cLBmVLys5lFYiRANL6wCmI,150
305
305
  castor_extractor/visualization/thoughtspot/assets.py,sha256=SAQWPKaD2NTSDg7-GSkcRSSEkKSws0MJfOVcHkdeTSg,276
306
306
  castor_extractor/visualization/thoughtspot/client/__init__.py,sha256=svrE2rMxR-OXctjPeAHMEPePlfcra-9KDevTMcHunAA,86
@@ -433,8 +433,8 @@ castor_extractor/warehouse/sqlserver/queries/user.sql,sha256=gOrZsMVypusR2dc4vwV
433
433
  castor_extractor/warehouse/sqlserver/queries/view_ddl.sql,sha256=5XkVBmJR2zDeutDSEL0h-uCqwuyXuiRQ75qUbUSK8kw,276
434
434
  castor_extractor/warehouse/sqlserver/query.py,sha256=QcGJ3lYbWpGCx-qMytTiEnTqGeEsUZrBLIdg_9jSm8A,1526
435
435
  castor_extractor/warehouse/synapse/queries/column.sql,sha256=lNcFoIW3Y0PFOqoOzJEXmPvZvfAsY0AP63Mu2LuPzPo,1351
436
- castor_extractor-0.24.48.dist-info/LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
437
- castor_extractor-0.24.48.dist-info/METADATA,sha256=pmX7WeHhQiNrhkAiKEnz9XXMuzvqjRh2c8PENHRDNM0,27593
438
- castor_extractor-0.24.48.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
439
- castor_extractor-0.24.48.dist-info/entry_points.txt,sha256=_F-qeZCybjoMkNb9ErEhnyqXuG6afHIFQhakdBHZsr4,1803
440
- castor_extractor-0.24.48.dist-info/RECORD,,
436
+ castor_extractor-0.24.49.dist-info/LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
437
+ castor_extractor-0.24.49.dist-info/METADATA,sha256=XLjmiR7fzLKZGXXjNjCnmTbV7uI_D95_0LIZ3sSZKSs,27680
438
+ castor_extractor-0.24.49.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
439
+ castor_extractor-0.24.49.dist-info/entry_points.txt,sha256=_F-qeZCybjoMkNb9ErEhnyqXuG6afHIFQhakdBHZsr4,1803
440
+ castor_extractor-0.24.49.dist-info/RECORD,,