castor-extractor 0.20.6__py3-none-any.whl → 0.20.7__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,6 +1,10 @@
1
1
 
2
2
  # Changelog
3
3
 
4
+ ## 0.20.7 - 2024-10-18
5
+
6
+ * Metabase: fix `require_ssl` type in credentials
7
+
4
8
  ## 0.20.6 - 2024-10-15
5
9
 
6
10
  * Tableau: include `site_id` in **workbooks** to build url
@@ -1,6 +1,6 @@
1
1
  from typing import Optional
2
2
 
3
- from pydantic import Field
3
+ from pydantic import AliasChoices, Field
4
4
  from pydantic_settings import BaseSettings, SettingsConfigDict
5
5
 
6
6
  METABASE_DB_ENV_PREFIX = "CASTOR_METABASE_DB_"
@@ -18,9 +18,15 @@ class MetabaseDbCredentials(BaseSettings):
18
18
  host: str
19
19
  port: str
20
20
  database: str
21
- schema_: str = Field(validation_alias=f"{METABASE_DB_ENV_PREFIX}SCHEMA")
21
+ schema_: str = Field(
22
+ validation_alias=AliasChoices(
23
+ f"{METABASE_DB_ENV_PREFIX}SCHEMA", "schema"
24
+ )
25
+ )
22
26
  user: str = Field(validation_alias=f"{METABASE_DB_ENV_PREFIX}USERNAME")
23
27
  password: str = Field(repr=False)
24
28
 
25
- encryption_secret_key: Optional[str] = Field(repr=False)
26
- require_ssl: Optional[str]
29
+ encryption_secret_key: Optional[str] = Field(repr=False, default=None)
30
+ require_ssl: Optional[bool] = Field(
31
+ validation_alias=f"{METABASE_DB_ENV_PREFIX}REQUIRE_SSL_KEY"
32
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: castor-extractor
3
- Version: 0.20.6
3
+ Version: 0.20.7
4
4
  Summary: Extract your metadata assets.
5
5
  Home-page: https://www.castordoc.com/
6
6
  License: EULA
@@ -208,6 +208,10 @@ For any questions or bug report, contact us at [support@castordoc.com](mailto:su
208
208
 
209
209
  # Changelog
210
210
 
211
+ ## 0.20.7 - 2024-10-18
212
+
213
+ * Metabase: fix `require_ssl` type in credentials
214
+
211
215
  ## 0.20.6 - 2024-10-15
212
216
 
213
217
  * Tableau: include `site_id` in **workbooks** to build url
@@ -1,4 +1,4 @@
1
- CHANGELOG.md,sha256=Q6RN08q5JpWqwJjuR6cSm2k9vyeHbaNuufiVlS07vDo,14080
1
+ CHANGELOG.md,sha256=8s0QcdkmJwFZParMHTjOoICh4-G6RD_sQ2JVFwktPPA,14155
2
2
  Dockerfile,sha256=xQ05-CFfGShT3oUqaiumaldwA288dj9Yb_pxofQpufg,301
3
3
  DockerfileUsage.md,sha256=2hkJQF-5JuuzfPZ7IOxgM6QgIQW7l-9oRMFVwyXC4gE,998
4
4
  LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
@@ -167,7 +167,7 @@ castor_extractor/visualization/metabase/client/api/client_test.py,sha256=7Lb5yvr
167
167
  castor_extractor/visualization/metabase/client/api/credentials.py,sha256=SiHWyWWEDy_Ak4ne0hgXPZCSP6mEuHH26wDhsed_9v8,519
168
168
  castor_extractor/visualization/metabase/client/db/__init__.py,sha256=nawDhJ-JGlpM6VMzZZRjf066QXk9kWzZr6l9n6OHTZ0,76
169
169
  castor_extractor/visualization/metabase/client/db/client.py,sha256=s38mubBaun4LfYWXqk_fyObWTk9f69AorDrXyW4HNiw,3369
170
- castor_extractor/visualization/metabase/client/db/credentials.py,sha256=LrtfUd2c1jAAFzxu64suIwvZe2dJnZ8suv9vGTnXtrI,746
170
+ castor_extractor/visualization/metabase/client/db/credentials.py,sha256=rhA6rM7QMTBSpF4BknYXz2VqujFcWAdx5TPR4kmdPy4,918
171
171
  castor_extractor/visualization/metabase/client/db/queries/.sqlfluff,sha256=sOQQOpAa9QMj9cBlulfmt-DZ_kQzMpzSAEnh10QGSB0,76
172
172
  castor_extractor/visualization/metabase/client/db/queries/base_url.sql,sha256=p2EL9kdt-hw_yh3aeCE91AXEB4RrYAbG2QrBBNqQjDE,79
173
173
  castor_extractor/visualization/metabase/client/db/queries/card.sql,sha256=U4-ZrZP5XS7Kssd3CFlpGrABbHAMK09Bh_yeT3z7Yk8,419
@@ -415,8 +415,8 @@ castor_extractor/warehouse/sqlserver/queries/table.sql,sha256=kbBQP-TdG5px1IVgyx
415
415
  castor_extractor/warehouse/sqlserver/queries/user.sql,sha256=gOrZsMVypusR2dc4vwVs4E1a-CliRsr_UjnD2EbXs-A,94
416
416
  castor_extractor/warehouse/sqlserver/query.py,sha256=j_d5-HMnzBouwGfywVZMRSSwbXzPvzDWlFCZmvxcoGQ,539
417
417
  castor_extractor/warehouse/synapse/queries/column.sql,sha256=lNcFoIW3Y0PFOqoOzJEXmPvZvfAsY0AP63Mu2LuPzPo,1351
418
- castor_extractor-0.20.6.dist-info/LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
419
- castor_extractor-0.20.6.dist-info/METADATA,sha256=Vgkknt_--nGtd3FcSAsG5JxA6zvBVlc-lwSOqlXoeTE,21298
420
- castor_extractor-0.20.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
421
- castor_extractor-0.20.6.dist-info/entry_points.txt,sha256=IVGy_oM8VjzADMAxzmiNJTYYidTCsI98MpO_mkXjkqE,1573
422
- castor_extractor-0.20.6.dist-info/RECORD,,
418
+ castor_extractor-0.20.7.dist-info/LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
419
+ castor_extractor-0.20.7.dist-info/METADATA,sha256=XGGqjLLLfjnVXfoEfuRb3kao81OQ8c5VdwjdSockixk,21373
420
+ castor_extractor-0.20.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
421
+ castor_extractor-0.20.7.dist-info/entry_points.txt,sha256=IVGy_oM8VjzADMAxzmiNJTYYidTCsI98MpO_mkXjkqE,1573
422
+ castor_extractor-0.20.7.dist-info/RECORD,,