Tags: scaleapi/nucleus-python-client
Tags
[DE-6999] Enable image deduplication within nucleus sdk (#452) * Enable deduplication in nucleus sdk * Lint fixes * Fix import order * Add tests for deduplication sdk * Fix isort import formatting errors * Add fixture for image dataset specifically for dedup * Fix image dataset creation syntax * Create image dataset syncrhonously * Make dataset_with_duplicates fixture sync * Add dedup test for scene made with video url * Document difference between deduplicate and deduplicate_by_ids better in docstring * Add tests to cover all ingestion forms * Refactor tests to use DEDUP_DEFAULT_TEST_THRESHOLD constant * Use try-finally for dataset creation and deletion * Make edge case test docstrings more detailed * Remove deprecated video sync upload tests * Update test_jobs to be deterministic * Split jobs tests into listing and retrieval separately * Fix docstring typo
Added support for limited access keys (to be used with or in substitute of api keys) Example usage: ``` c = nucleus.NucleusClient(limited_access_key="<LIMITED_ACCESS_KEY>") ``` ``` c = nucleus.NucleusClient(api_key="<API_KEY>", limited_access_key="<LIMITED_ACCESS_KEY>") ``` ``` c = nucleus.NucleusClient(api_key="<API_KEY>") ```
PreviousNext