A package with custom kedro datasets for VLGI
Project description
vlgi-datasets
Overview
Repositiory with custom kedro datasets
How to use
In code:
from kedro.io import DataCatalog
from vlgi_datasets import PostgresTableUpsertDataSet
io = DataCatalog(
{
"asset": PostgresTableUpsertDataSet(
table_name="assets",
credentials={"con": "myconnectionstring"},
save_args={"if_exists": "append", "constraint": "assets_pkey"},
overwrite_columns=False,
),
}
)
In catalog.yml:
asset:
type: vlgi_datasets.PostgresTableUpsertDataSet
table_name: assets
credentials:
con: myconnectionstring
save_args:
if_exists: append
constraint: assets_pkey
overwrite_columns: False
Observation
- The
overwrite_columnsparameter is optional and defaults toTrue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vlgi_datasets-0.3.0.tar.gz
(5.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vlgi_datasets-0.3.0.tar.gz.
File metadata
- Download URL: vlgi_datasets-0.3.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5a00ebd56a3db62b289ee7087c90f8979ca015cf65099a53d7715ba78d20aeb
|
|
| MD5 |
fd79781f3b6013b8e4e6413a59cb8178
|
|
| BLAKE2b-256 |
12b27a8a3cac4eb66537aabd8a6feda0f9618d1a8cda4ad34f56ff71b2526c47
|
File details
Details for the file vlgi_datasets-0.3.0-py3-none-any.whl.
File metadata
- Download URL: vlgi_datasets-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9db5b5c53ba0e965177d6b0784d8993a10986a90bdadcb4da28936348a895f2a
|
|
| MD5 |
8dc8588c1b826236dd964ea8cbff72cb
|
|
| BLAKE2b-256 |
a65dc934c6ad9507f62471f33eda0bbdafe12b5f8ff4ce7d01da2360dee82950
|