lamindb 1.7a1__tar.gz → 1.7.1__tar.gz
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.
- {lamindb-1.7a1 → lamindb-1.7.1}/PKG-INFO +3 -3
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/__init__.py +1 -1
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/_context.py +2 -2
- lamindb-1.7.1/lamindb/migrations/0115_alter_space_uid.py +52 -0
- lamindb-1.7a1/lamindb/migrations/0114_squashed.py → lamindb-1.7.1/lamindb/migrations/0115_squashed.py +3 -2
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/sqlrecord.py +24 -14
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/setup/__init__.py +1 -0
- lamindb-1.7.1/lamindb/setup/_switch.py +16 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/pyproject.toml +2 -2
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/permissions/scripts/check_lamin_dev.py +1 -1
- {lamindb-1.7a1 → lamindb-1.7.1}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.github/ISSUE_TEMPLATE/enhancement.yml +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.github/ISSUE_TEMPLATE/usage_question.yml +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.github/workflows/build.yml +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.github/workflows/doc-changes.yml +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.gitignore +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.gitmodules +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/.pre-commit-config.yaml +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/CONTRIBUTING.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/LICENSE +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/README.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/api.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/arrays.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/bio-registries.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/bionty.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/changelog.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/clinicore.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/curate.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/acid.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/curate-any.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/delete.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/idempotency.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/import-modules.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/keep-artifacts-local.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/pydantic-pandera.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/reference-field.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/search.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/setup.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/symbol-mapping.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/test_notebooks.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/track-run-inputs.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/validate-fields.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq/visibility.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/faq.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/guide.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/includes/installation.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/index.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/lamindb.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/query-search.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/registries.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/curate_anndata_flexible.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/curate_dataframe_flexible.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/curate_dataframe_minimal_errors.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/curate_mudata.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/curate_soma_experiment.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/curate_spatialdata.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/define_mini_immuno_features_labels.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/define_mini_immuno_schema_flexible.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/define_schema_anndata_ensembl_gene_ids_and_valid_features_in_obs.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/define_schema_spatialdata.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/define_valid_features.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/ingest_mini_immuno_datasets.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/run_track_and_finish.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/run_track_with_params.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/run_workflow.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/scripts/synced_with_git.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/add-replace-cache.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/anndata-accessor.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/prepare-transfer-local-to-cloud.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/test-files/iris.csv +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/test-files/iris.data +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/test-files/new_iris.csv +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/test_notebooks.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/transfer-local-to-cloud.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/upload.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage/vitessce.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/storage.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/test_notebooks.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/track.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/transfer.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/docs/wetlab.md +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/_finish.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/_tracked.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/_view.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/base/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/base/fields.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/base/ids.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/base/types.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/base/uids.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/base/users.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/_compat.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/_mapped_collection.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/_settings.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/_sync_git.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/_track_environment.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/datasets/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/datasets/_core.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/datasets/_fake.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/datasets/_small.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/datasets/mini_immuno.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/exceptions.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/loaders.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/_anndata_accessor.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/_backed_access.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/_polars_lazy_df.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/_pyarrow_dataset.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/_tiledbsoma.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/_valid_suffixes.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/_zarr.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/objects.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/storage/paths.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/subsettings/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/subsettings/_annotation_settings.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/subsettings/_creation_settings.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/core/types.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/curators/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/curators/_cellxgene_schemas/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/curators/_cellxgene_schemas/schema_versions.csv +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/curators/_legacy.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/curators/core.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/errors.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/examples/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/examples/fixtures/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/examples/fixtures/sheets.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/examples/schemas/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/examples/schemas/_anndata.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/examples/schemas/_simple.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/integrations/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/integrations/_vitessce.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0069_squashed.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0070_lamindbv1_migrate_data.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0071_lamindbv1_migrate_schema.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0072_remove_user__branch_code_remove_user_aux_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0073_merge_ourprojects.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0074_lamindbv1_part4.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0075_lamindbv1_part5.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0076_lamindbv1_part6.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0077_lamindbv1_part6b.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0078_lamindbv1_part6c.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0079_alter_rundata_value_json_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0080_polish_lamindbv1.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0081_revert_textfield_collection.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0082_alter_feature_dtype.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0083_alter_feature_is_type_alter_flextable_is_type_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0084_alter_schemafeature_feature_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0085_alter_feature_is_type_alter_flextable_is_type_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0086_various.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0087_rename__schemas_m2m_artifact_feature_sets_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0088_schema_components.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0089_subsequent_runs.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0090_runproject_project_runs.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0091_alter_featurevalue_options_alter_space_options_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0092_alter_artifactfeaturevalue_artifact_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0093_alter_schemacomponent_unique_together.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0094_writeloglock_writelogmigrationstate_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0095_remove_rundata_flextable.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0096_remove_artifact__param_values_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0097_remove_schemaparam_param_remove_paramvalue_param_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0098_alter_feature_type_alter_project_type_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0099_alter_writelog_seqno.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0100_branch_alter_artifact__branch_code_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0101_alter_artifact_hash_alter_feature_name_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0102_remove_writelog_branch_code_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0103_remove_writelog_migration_state_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0104_alter_branch_uid.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0105_record_unique_name.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0106_transfer_data_migration.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0107_add_schema_to_record.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0108_remove_record_sheet_remove_sheetproject_sheet_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0109_record_input_of_runs_alter_record_run_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0110_rename_values_artifacts_record_linked_artifacts.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0111_remove_record__sort_order.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0112_alter_recordartifact_feature_and_more.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0113_lower_case_branch_and_space_names.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0114_alter_run__status_code.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/_describe.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/_django.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/_feature_manager.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/_from_values.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/_is_versioned.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/_label_manager.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/_relations.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/artifact.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/artifact_set.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/can_curate.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/collection.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/feature.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/has_parents.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/project.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/query_manager.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/query_set.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/record.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/run.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/save.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/schema.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/storage.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/transform.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/models/ulabel.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/py.typed +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/setup/core/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/setup/errors/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/lamindb/setup/types/__init__.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/noxfile.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/conftest.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/_dataset_fixtures.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/conftest.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/notebooks/basic-r-notebook.Rmd.cleaned.html +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/notebooks/basic-r-notebook.Rmd.html +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/notebooks/duplicate/with-title-initialized-consecutive-finish.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/notebooks/no-title.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/notebooks/with-title-initialized-consecutive-finish-not-last-cell.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/notebooks/with-title-initialized-consecutive-finish.ipynb +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/scripts/duplicate1/script-to-test-versioning.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/scripts/duplicate2/script-to-test-versioning.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/scripts/duplicate3/script-to-test-versioning.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/scripts/duplicate4/script-to-test-versioning.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/scripts/duplicate5/script-to-test-versioning.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/scripts/script-to-test-filename-change.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/scripts/script-to-test-versioning.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_artifact.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_artifact_folders.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_can_curate.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_collection.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_data.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_db.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_delete.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_describe_and_df_calls.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_dtype.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_feature.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_feature_label_manager.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_from_values.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_has_parents.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_integrity.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_load.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_manager.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_models.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_notebooks.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_queryset.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_record.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_run.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_save.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_schema.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_search.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_settings.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_storage.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_track.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_tracked.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_transform.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_ulabel.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_versioning.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_view.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/core/test_visibility.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/conftest.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_cat_managers.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_curators_examples.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_curators_general.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_curators_multivalue.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_cxg_curator.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_dataframe_curators_accounting_example.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_pert_curator.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/curators/test_records.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/permissions/conftest.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/permissions/jwt_utils.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/permissions/scripts/clean_lamin_dev.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/permissions/scripts/setup_access.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/permissions/scripts/setup_instance.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/permissions/test_permissions.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/storage/conftest.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/storage/test_artifact_storage.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/storage/test_artifact_zarr.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/storage/test_cache.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/storage/test_storage_lifecycle.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/storage/test_streaming.py +0 -0
- {lamindb-1.7a1 → lamindb-1.7.1}/tests/storage/test_transfer.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: lamindb
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.7.1
|
4
4
|
Summary: A data framework for biology.
|
5
5
|
Author-email: Lamin Labs <open-source@lamin.ai>
|
6
6
|
Requires-Python: >=3.10,<3.14
|
@@ -10,8 +10,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.12
|
11
11
|
Classifier: Programming Language :: Python :: 3.13
|
12
12
|
Requires-Dist: lamin_utils==0.15.0
|
13
|
-
Requires-Dist: lamin_cli==1.5.
|
14
|
-
Requires-Dist: lamindb_setup[aws]==1.7.
|
13
|
+
Requires-Dist: lamin_cli==1.5.4
|
14
|
+
Requires-Dist: lamindb_setup[aws]==1.7.3
|
15
15
|
Requires-Dist: pyyaml
|
16
16
|
Requires-Dist: pyarrow
|
17
17
|
Requires-Dist: pandera>=0.24.0
|
@@ -334,8 +334,8 @@ class Context:
|
|
334
334
|
Args:
|
335
335
|
transform: A transform (stem) `uid` (or record). If `None`, auto-creates a `transform` with its `uid`.
|
336
336
|
project: A project (or its `name` or `uid`) for labeling entities.
|
337
|
-
space: A restricted space (or its `name` or `uid`) in which to store
|
338
|
-
Default: the `"
|
337
|
+
space: A restricted space (or its `name` or `uid`) in which to store entities.
|
338
|
+
Default: the `"all"` space. Note that bionty entities ignore this setting and always get written to the `"all"` space.
|
339
339
|
If you want to manually move entities to a different space, set the `.space` field (:doc:`docs:access`).
|
340
340
|
branch: A branch (or its `name` or `uid`) on which to store records.
|
341
341
|
params: A dictionary of parameters to track for the run.
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# Generated by Django 5.2 on 2025-07-06 23:09
|
2
|
+
|
3
|
+
from django.db import migrations
|
4
|
+
|
5
|
+
import lamindb.base.fields
|
6
|
+
|
7
|
+
|
8
|
+
def extenddefault_values(apps, schema_editor):
|
9
|
+
"""Lowercase default values for Space and Branch models."""
|
10
|
+
Space = apps.get_model("lamindb", "Space")
|
11
|
+
Branch = apps.get_model("lamindb", "Branch")
|
12
|
+
|
13
|
+
space = Space.objects.get(uid="a")
|
14
|
+
space.uid = 12 * "a"
|
15
|
+
space.save()
|
16
|
+
|
17
|
+
trash_branch = Branch.objects.get(uid="t")
|
18
|
+
trash_branch.uid = 12 * "t"
|
19
|
+
trash_branch.save()
|
20
|
+
|
21
|
+
archive_branch = Branch.objects.get(uid="a")
|
22
|
+
archive_branch.uid = 12 * "a"
|
23
|
+
archive_branch.save()
|
24
|
+
|
25
|
+
main_branch = Branch.objects.get(uid="m")
|
26
|
+
main_branch.uid = 12 * "m"
|
27
|
+
main_branch.save()
|
28
|
+
|
29
|
+
|
30
|
+
class Migration(migrations.Migration):
|
31
|
+
dependencies = [
|
32
|
+
("lamindb", "0114_alter_run__status_code"),
|
33
|
+
]
|
34
|
+
|
35
|
+
operations = [
|
36
|
+
migrations.AlterField(
|
37
|
+
model_name="space",
|
38
|
+
name="uid",
|
39
|
+
field=lamindb.base.fields.CharField(
|
40
|
+
blank=True,
|
41
|
+
db_default="aaaaaaaaaaaa",
|
42
|
+
db_index=True,
|
43
|
+
default="aaaaaaaaaaaaa",
|
44
|
+
editable=False,
|
45
|
+
max_length=12,
|
46
|
+
unique=True,
|
47
|
+
),
|
48
|
+
),
|
49
|
+
migrations.RunPython(
|
50
|
+
extenddefault_values,
|
51
|
+
),
|
52
|
+
]
|
@@ -136,6 +136,7 @@ class Migration(migrations.Migration):
|
|
136
136
|
("lamindb", "0112_alter_recordartifact_feature_and_more"),
|
137
137
|
("lamindb", "0113_lower_case_branch_and_space_names"),
|
138
138
|
("lamindb", "0114_alter_run__status_code"),
|
139
|
+
("lamindb", "0115_alter_space_uid"),
|
139
140
|
]
|
140
141
|
|
141
142
|
dependencies = [] # type: ignore
|
@@ -214,9 +215,9 @@ class Migration(migrations.Migration):
|
|
214
215
|
"uid",
|
215
216
|
lamindb.base.fields.CharField(
|
216
217
|
blank=True,
|
217
|
-
db_default="
|
218
|
+
db_default="aaaaaaaaaaaa",
|
218
219
|
db_index=True,
|
219
|
-
default="
|
220
|
+
default="aaaaaaaaaaaaa",
|
220
221
|
editable=False,
|
221
222
|
max_length=12,
|
222
223
|
unique=True,
|
@@ -661,43 +661,53 @@ class BaseSQLRecord(models.Model, metaclass=Registry):
|
|
661
661
|
def __init__(self, *args, **kwargs):
|
662
662
|
skip_validation = kwargs.pop("_skip_validation", False)
|
663
663
|
if not args:
|
664
|
-
if
|
665
|
-
|
666
|
-
"
|
667
|
-
|
668
|
-
"
|
669
|
-
|
664
|
+
if (
|
665
|
+
issubclass(self.__class__, SQLRecord)
|
666
|
+
and self.__class__.__name__ != "Storage"
|
667
|
+
# do not save bionty entities in restricted spaces by default
|
668
|
+
and self.__class__.__module__ != "bionty.models"
|
669
|
+
):
|
670
670
|
from lamindb import context as run_context
|
671
671
|
|
672
672
|
if run_context.space is not None:
|
673
|
+
current_space = run_context.space
|
674
|
+
elif setup_settings.space is not None:
|
675
|
+
current_space = setup_settings.space
|
676
|
+
|
677
|
+
if current_space is not None:
|
673
678
|
if "space_id" in kwargs:
|
674
679
|
# space_id takes precedence over space
|
675
680
|
# https://claude.ai/share/f045e5dc-0143-4bc5-b8a4-38309229f75e
|
676
681
|
if kwargs["space_id"] == 1: # ignore default space
|
677
682
|
kwargs.pop("space_id")
|
678
|
-
kwargs["space"] =
|
683
|
+
kwargs["space"] = current_space
|
679
684
|
elif "space" in kwargs:
|
680
685
|
if kwargs["space"] is None:
|
681
|
-
kwargs["space"] =
|
686
|
+
kwargs["space"] = current_space
|
682
687
|
else:
|
683
|
-
kwargs["space"] =
|
688
|
+
kwargs["space"] = current_space
|
684
689
|
if issubclass(
|
685
690
|
self.__class__, SQLRecord
|
686
691
|
) and self.__class__.__name__ not in {"Storage", "Source"}:
|
687
692
|
from lamindb import context as run_context
|
688
693
|
|
689
694
|
if run_context.branch is not None:
|
695
|
+
current_branch = run_context.branch
|
696
|
+
elif setup_settings.branch is not None:
|
697
|
+
current_branch = setup_settings.branch
|
698
|
+
|
699
|
+
if current_branch is not None:
|
690
700
|
# branch_id takes precedence over branch
|
691
701
|
# https://claude.ai/share/f045e5dc-0143-4bc5-b8a4-38309229f75e
|
692
702
|
if "branch_id" in kwargs:
|
693
703
|
if kwargs["branch_id"] == 1: # ignore default branch
|
694
704
|
kwargs.pop("branch_id")
|
695
|
-
kwargs["branch"] =
|
705
|
+
kwargs["branch"] = current_branch
|
696
706
|
elif "branch" in kwargs:
|
697
707
|
if kwargs["branch"] is None:
|
698
|
-
kwargs["branch"] =
|
708
|
+
kwargs["branch"] = current_branch
|
699
709
|
else:
|
700
|
-
kwargs["branch"] =
|
710
|
+
kwargs["branch"] = current_branch
|
701
711
|
if skip_validation:
|
702
712
|
super().__init__(**kwargs)
|
703
713
|
else:
|
@@ -952,8 +962,8 @@ class Space(BaseSQLRecord):
|
|
952
962
|
editable=False,
|
953
963
|
unique=True,
|
954
964
|
max_length=12,
|
955
|
-
default="
|
956
|
-
db_default="
|
965
|
+
default="aaaaaaaaaaaaa",
|
966
|
+
db_default="aaaaaaaaaaaa",
|
957
967
|
db_index=True,
|
958
968
|
)
|
959
969
|
"""Universal id."""
|
@@ -8,6 +8,7 @@ from lamindb_setup import (
|
|
8
8
|
)
|
9
9
|
|
10
10
|
from . import core, errors, types
|
11
|
+
from ._switch import switch # noqa: F401
|
11
12
|
|
12
13
|
del connect # we have this at the root level, hence, we don't want it here
|
13
14
|
__doc__ = _lamindb_setup.__doc__.replace("lamindb_setup", "lamindb.setup")
|
@@ -0,0 +1,16 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
|
3
|
+
from typing import TYPE_CHECKING
|
4
|
+
|
5
|
+
from lamindb_setup import settings
|
6
|
+
|
7
|
+
if TYPE_CHECKING:
|
8
|
+
from lamindb.models import Branch, Space
|
9
|
+
|
10
|
+
|
11
|
+
def switch(*, branch: str | Branch | None = None, space: str | Space | None = None):
|
12
|
+
"""Switch to a branch or space, create if not exists."""
|
13
|
+
if branch is not None:
|
14
|
+
settings.branch = branch
|
15
|
+
if space is not None:
|
16
|
+
settings.space = space
|
@@ -18,7 +18,7 @@ ln.track(space=space_name)
|
|
18
18
|
|
19
19
|
assert ln.context.space.name == space_name
|
20
20
|
ulabel = ln.ULabel(name="My test ulabel in test space").save()
|
21
|
-
assert ulabel.space.name ==
|
21
|
+
assert ulabel.space.name == space_name # ulabel should end up in the restricted space
|
22
22
|
ulabel.delete() # delete silently passes in case another worker deleted the ulabel
|
23
23
|
assert (
|
24
24
|
ln.context.transform.space.name == space_name
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0079_alter_rundata_value_json_and_more.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{lamindb-1.7a1 → lamindb-1.7.1}/lamindb/migrations/0084_alter_schemafeature_feature_and_more.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|