planar 0.13.2__py3-none-any.whl → 0.13.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.
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
- DuckDBCatalogConfig | PostgresCatalogConfig | SQLiteCatalogConfig,
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 'sts;env;config;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
@@ -21,7 +21,7 @@ StorageInfo = Literal["s3", "localdir", "azure_blob"]
21
21
 
22
22
 
23
23
  class DatasetsInfo(BaseModel):
24
- catalog: Literal["duckdb", "postgres", "sqlite"]
24
+ catalog: Literal["postgres", "sqlite"]
25
25
  storage: StorageInfo
26
26
 
27
27
 
@@ -36,8 +36,8 @@ logging:
36
36
  # Uncomment to enable data features with Ducklake
37
37
  # data:
38
38
  # catalog:
39
- # type: duckdb
40
- # path: .data/catalog.ducklake
39
+ # type: sqlite
40
+ # path: .data/catalog.sqlite
41
41
  # storage:
42
42
  # backend: localdir
43
43
  # directory: .data/ducklake_files
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: planar
3
- Version: 0.13.2
3
+ Version: 0.13.4
4
4
  Summary: Batteries-included framework for building durable agentic workflows and business applications.
5
5
  License-Expression: LicenseRef-Proprietary
6
6
  Requires-Dist: aiofiles>=24.1.0
@@ -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=oaLiwN3OUt3i85MS0zxpdMNG5VjaM5xB6VtPc1f4MFU,1484
15
- planar/data/connection.py,sha256=QPcbomoWDdttu28cfeQAtnUdc_ptayQTaqwcC8Gq4vc,8056
14
+ planar/data/config.py,sha256=P2x97IiwFkpXwo0MHAnu_osQ94Sq3d_QnFj3dKj78-U,1257
15
+ planar/data/connection.py,sha256=djFcrKhVu6m4Mz5XdD3LBR8DktllUN9m_hewHds8lh4,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=XaDTuqZl4jaF5i4po4j2M2Alhq6HcOC4GI1Fq9QVN30,5418
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=I5-IqX7GJm6qA91WtUMw43L4hKACqgnER_H2racim4c,998
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.2.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
126
- planar-0.13.2.dist-info/entry_points.txt,sha256=L3T0w9u2UPKWXv6JbXFWKU1d5xyEAq1xVWbpYS6mLNg,96
127
- planar-0.13.2.dist-info/METADATA,sha256=hHuWQx_u5HHzw4onoBPARIX8wVjU_PwW_ia6X5g7oPU,7335
128
- planar-0.13.2.dist-info/RECORD,,
125
+ planar-0.13.4.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
126
+ planar-0.13.4.dist-info/entry_points.txt,sha256=L3T0w9u2UPKWXv6JbXFWKU1d5xyEAq1xVWbpYS6mLNg,96
127
+ planar-0.13.4.dist-info/METADATA,sha256=9bTn8-Dxt8OTUwBZKFF60d82cePNJqjxsYDHW8p0tlw,7335
128
+ planar-0.13.4.dist-info/RECORD,,