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.4.2.tar.gz
(8.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.4.2.tar.gz.
File metadata
- Download URL: vlgi_datasets-0.4.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
845f2c1a3667e67ce66152a77794b7fbfe716b817ba1117a87e1d8f4dc5943e6
|
|
| MD5 |
2673f0a2c2fb593bb76910866a3857fe
|
|
| BLAKE2b-256 |
27f424e462fa2e561b354564c353271373a6d9d5edbfa9afe32bbc38977038cd
|
File details
Details for the file vlgi_datasets-0.4.2-py3-none-any.whl.
File metadata
- Download URL: vlgi_datasets-0.4.2-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92ff53ac78b7313fc8fd271fa153487a141622da7ba759778b2f4583a1e01c19
|
|
| MD5 |
47f97c3df3b8ecb1791a893c0c4b5f7e
|
|
| BLAKE2b-256 |
8d613e7a2f254426c5d3ee2859d8458e529c8e3a0f61b65cbf42ebd62f33a870
|