Skip to main content

This plugin allows vdk-core to read/write properties on the local FS. Mainly for development purposes, to simplify a use-case with local Properties API usage, that would otherwise require a Control Service instance prerequisite. For example, to quickly demo a data job that uses a secret, so that secret is quickly stored on the presenter's local FS.

Usage

Run

pip install vdk-properties-fs

After this, data jobs will be able to read and write properties stored on the local file system.

For example

    def run(job_input: IJobInput):
        my_props = {"key": "value"}
        job_input.set_all_properties(my_props)
        assert job_input.get_all_properties() == my_props
        assert job_input.get_property("key") == "value"

Configuration

To enable the plugin, set "PROPERTIES_DEFAULT_TYPE" to "fs-properties-client". Run vdk config-help - search for those prefixed with "FS_PROPERTIES_" to see what configuration options are available.

Testing

Testing this plugin locally requires installing the dependencies listed in vdk-plugins/vdk-properties-fs/requirements.txt

Run

pip install -r requirements.txt

Metadata

Release files for vdk-properties-fs 0.0.824443273

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vdk-properties-fs 0.0.824443273
File Size Uploaded
vdk-properties-fs-0.0.824443273.tar.gz 4.1 kB Details

Release files / vdk-properties-fs-0.0.824443273.tar.gz

Download URL vdk-properties-fs-0.0.824443273.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
60b93eb4e1a192a4b5afe32dd9b65bf3db0398c5b3c8a086f854e48754624d01
BLAKE2b-256 checksum
How to use checksums
7a13c742a1db5a55c7bd7a3886bdeed7a7d7f7b154ff812782b4fe0863f7e549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page