planar 0.13.2__py3-none-any.whl → 0.13.3__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.
- planar/data/config.py +1 -10
- planar/data/connection.py +1 -4
- planar/routers/info.py +1 -1
- planar/scaffold_templates/planar.dev.yaml.j2 +2 -2
- {planar-0.13.2.dist-info → planar-0.13.3.dist-info}/METADATA +1 -1
- {planar-0.13.2.dist-info → planar-0.13.3.dist-info}/RECORD +8 -8
- {planar-0.13.2.dist-info → planar-0.13.3.dist-info}/WHEEL +0 -0
- {planar-0.13.2.dist-info → planar-0.13.3.dist-info}/entry_points.txt +0 -0
planar/data/config.py
CHANGED
@@ -7,15 +7,6 @@ from pydantic import BaseModel, ConfigDict, Field
|
|
7
7
|
from planar.files.storage.config import StorageConfig
|
8
8
|
|
9
9
|
|
10
|
-
class DuckDBCatalogConfig(BaseModel):
|
11
|
-
"""Configuration for DuckDB catalog backend."""
|
12
|
-
|
13
|
-
type: Literal["duckdb"]
|
14
|
-
path: str # Path to .ducklake file
|
15
|
-
|
16
|
-
model_config = ConfigDict(frozen=True)
|
17
|
-
|
18
|
-
|
19
10
|
class PostgresCatalogConfig(BaseModel):
|
20
11
|
"""Configuration for PostgreSQL catalog backend."""
|
21
12
|
|
@@ -40,7 +31,7 @@ class SQLiteCatalogConfig(BaseModel):
|
|
40
31
|
|
41
32
|
# Discriminated union for catalog configurations
|
42
33
|
CatalogConfig = Annotated[
|
43
|
-
|
34
|
+
PostgresCatalogConfig | SQLiteCatalogConfig,
|
44
35
|
Field(discriminator="type"),
|
45
36
|
]
|
46
37
|
|
planar/data/connection.py
CHANGED
@@ -7,7 +7,6 @@ from ibis.backends.duckdb import Backend as DuckDBBackend
|
|
7
7
|
|
8
8
|
from planar.config import PlanarConfig
|
9
9
|
from planar.data.config import (
|
10
|
-
DuckDBCatalogConfig,
|
11
10
|
PostgresCatalogConfig,
|
12
11
|
SQLiteCatalogConfig,
|
13
12
|
)
|
@@ -87,7 +86,7 @@ def _make_aws_s3_secret_query(config: S3Config) -> str:
|
|
87
86
|
columns.extend(
|
88
87
|
[
|
89
88
|
"PROVIDER credential_chain",
|
90
|
-
"CHAIN 'env;sts;instance'",
|
89
|
+
"CHAIN 'env;config;sts;instance'",
|
91
90
|
]
|
92
91
|
)
|
93
92
|
|
@@ -111,8 +110,6 @@ async def _create_connection(config: PlanarConfig) -> DuckDBBackend:
|
|
111
110
|
catalog_config = data_config.catalog
|
112
111
|
|
113
112
|
match catalog_config:
|
114
|
-
case DuckDBCatalogConfig():
|
115
|
-
metadata_path = catalog_config.path
|
116
113
|
case PostgresCatalogConfig():
|
117
114
|
# Use connection components to build postgres connection string
|
118
115
|
metadata_path = f"postgres:dbname={catalog_config.db}"
|
planar/routers/info.py
CHANGED
@@ -36,8 +36,8 @@ logging:
|
|
36
36
|
# Uncomment to enable data features with Ducklake
|
37
37
|
# data:
|
38
38
|
# catalog:
|
39
|
-
# type:
|
40
|
-
# path: .data/catalog.
|
39
|
+
# type: sqlite
|
40
|
+
# path: .data/catalog.sqlite
|
41
41
|
# storage:
|
42
42
|
# backend: localdir
|
43
43
|
# directory: .data/ducklake_files
|
@@ -11,8 +11,8 @@ planar/app.py,sha256=2ijbrORCfjKReDieLbwgey_9poJJwEfWkvCNKcVYcdk,19484
|
|
11
11
|
planar/cli.py,sha256=GONw7Dpyxy_7Vf48rLmQXRQnC_IyWENRULQF0DwiCuY,11108
|
12
12
|
planar/config.py,sha256=54N-qPaxihEn6QUQvXsdtbEN-pTTrd_5NG8WFYb0CRI,18879
|
13
13
|
planar/data/__init__.py,sha256=eqSREzJ58HM05DXpR_00M6RDFxtHSIh-OEuqXBPVsVc,362
|
14
|
-
planar/data/config.py,sha256=
|
15
|
-
planar/data/connection.py,sha256=
|
14
|
+
planar/data/config.py,sha256=P2x97IiwFkpXwo0MHAnu_osQ94Sq3d_QnFj3dKj78-U,1257
|
15
|
+
planar/data/connection.py,sha256=unszrzZTCjknC4T6TdXhMjBy7bz01CxGBEub91c4sZY,7954
|
16
16
|
planar/data/dataset.py,sha256=f-x9cOuGyQQldC98mCwpFVOXMiDNN6LQDQ9vtljXVRo,6095
|
17
17
|
planar/data/exceptions.py,sha256=AlhGQ_TReyEzfPSlqoXCjoZ1206Ut7dS4lrukVfGHaw,358
|
18
18
|
planar/data/utils.py,sha256=NhxJFSxPLNX1ddSANS3-bVhMr1Q_-25qDRRXxGug4Vc,6312
|
@@ -65,7 +65,7 @@ planar/routers/entity_router.py,sha256=7Y1LDSqI_ovoOGr9DGylGM8BmRxF-WSPQSwITJHc6
|
|
65
65
|
planar/routers/event.py,sha256=yvzzMQaKRoS2A0KSjQTyWcfmBzpt8xPNDfVW50XUSCw,2961
|
66
66
|
planar/routers/files.py,sha256=udu6PeZ9AuOpNyJete21rWAVQyE0qnC7tnSyJ97AH4Y,5644
|
67
67
|
planar/routers/human.py,sha256=m_CbH97_QGmzriui_xopLOq-2D1kR0WgvO92fMaFeBQ,5010
|
68
|
-
planar/routers/info.py,sha256=
|
68
|
+
planar/routers/info.py,sha256=5CktadGpSDYCjAr7OxMVWYC0a2aWY8v-syNQKpZZwJE,5408
|
69
69
|
planar/routers/models.py,sha256=zknkVs9-B4UJlMe9fl2EpXx7sdzfjQfwAbNoL1a0wmI,4694
|
70
70
|
planar/routers/object_config_router.py,sha256=zA8-gGBQp1-Gm3uCC4WJ6nLicFwt4CsCqCYLFp1lRN8,4802
|
71
71
|
planar/routers/rule.py,sha256=d6giUwYRKzxQFPeoWbe8Ylp2Cxd71_uK8yoS9NrOOBg,3563
|
@@ -79,7 +79,7 @@ planar/scaffold_templates/app/__init__.py.j2,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
79
79
|
planar/scaffold_templates/app/db/entities.py.j2,sha256=wg9O3JtRaRMKlDtoWHHodyNRL0s1UILvsr9fCQ_O2-4,279
|
80
80
|
planar/scaffold_templates/app/flows/process_invoice.py.j2,sha256=R3EII_O2DHV1kvffW_AApZyaS6rR9eikcpxI08XH9dI,1691
|
81
81
|
planar/scaffold_templates/main.py.j2,sha256=zrqsuv3Fp4lcknvB37RrRHy11msdFB1yDguYmTLLPhw,398
|
82
|
-
planar/scaffold_templates/planar.dev.yaml.j2,sha256=
|
82
|
+
planar/scaffold_templates/planar.dev.yaml.j2,sha256=fxz-5fmSoVpM139aqLxGLvdcUuB8QUFymL3i7hk-TXk,996
|
83
83
|
planar/scaffold_templates/planar.prod.yaml.j2,sha256=FahJ2atDtvVH7IUCatGq6h9hmyF8meeiWC8RLfWphOQ,867
|
84
84
|
planar/scaffold_templates/pyproject.toml.j2,sha256=XdOf3B_fkTDwEzQsneNdmC43rptmZoqwFRj7QpaL7OI,299
|
85
85
|
planar/security/auth_context.py,sha256=i63JkHQ3oXNlTis7GIKRkZJbkcvZhD2jVDuO7blgbSc,5068
|
@@ -122,7 +122,7 @@ planar/workflows/step_testing_utils.py,sha256=WiTwxB4mM2y6dW7CJ3PlIR1BkBodSxQV7-
|
|
122
122
|
planar/workflows/sub_workflow_runner.py,sha256=EpS7DhhXRbC6ABm-Sho6Uyxh2TqCjcTPDYvcTQN4FjY,8313
|
123
123
|
planar/workflows/tracing.py,sha256=E7E_kj2VBQisDqrllviIshbvOmB9QcEeRwMapunqio4,2732
|
124
124
|
planar/workflows/wrappers.py,sha256=dY_3NqkzGMG4jgX2lkAqvHTYFA1lBzhkQCw7N5CyaQM,1174
|
125
|
-
planar-0.13.
|
126
|
-
planar-0.13.
|
127
|
-
planar-0.13.
|
128
|
-
planar-0.13.
|
125
|
+
planar-0.13.3.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
126
|
+
planar-0.13.3.dist-info/entry_points.txt,sha256=L3T0w9u2UPKWXv6JbXFWKU1d5xyEAq1xVWbpYS6mLNg,96
|
127
|
+
planar-0.13.3.dist-info/METADATA,sha256=Q4ee8I3wVhnEqNVN213N_hNvJbYVjcQu5cuRUuUeOdo,7335
|
128
|
+
planar-0.13.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|