Generated from aind-library-template
Project description
aind-metadata-upgrader
I want to run the upgrader
from aind_metadata_upgrader.upgrade import Upgrade
# <Your code here: load your data as a dictionary, e.g. json.load(f)>
upgraded_record = Upgrade(data)
upgraded_record.save()
I want to develop new upgraders
Add a new CoreUpgrader class, then include it in the MAPPINGS object.
I want to run the upgrader in sync mode, i.e. to upgrade all assets to DocDB
from aind_metadata_upgrader.sync import run
run()
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
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 aind_metadata_upgrader-0.3.6.tar.gz.
File metadata
- Download URL: aind_metadata_upgrader-0.3.6.tar.gz
- Upload date:
- Size: 5.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7470edb6ddfd132edd3eb8df10107cc5b4cbde136dfb765bcb5861268a6fb3a8
|
|
| MD5 |
3bdaa5b57390865bca2f7a96dfd510df
|
|
| BLAKE2b-256 |
fc7deff65998ef2e6b52121a42bb4c7ba4f932062b43a807b927882e6a4ecf71
|
File details
Details for the file aind_metadata_upgrader-0.3.6-py3-none-any.whl.
File metadata
- Download URL: aind_metadata_upgrader-0.3.6-py3-none-any.whl
- Upload date:
- Size: 75.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17a120266657fcf65589d257c5c143cdeb67a6c535909ccee26a0d48a422818f
|
|
| MD5 |
dfcdc085e6bdcee4fa729409da584b92
|
|
| BLAKE2b-256 |
b0962907f46c181011a233b01109e5c924bb0210d6ac38055059fea2c32a5fae
|