Skip to content

Release 0.4.48 - #596

Merged
gsaluja9 merged 5 commits into
mainfrom
release-0.4.48
Jun 26, 2025
Merged

gsaluja9 merged 5 commits into
mainfrom
release-0.4.48

Conversation

@gsaluja9

@gsaluja9 gsaluja9 commented Jun 26, 2025 •

Copy link
Copy Markdown
Contributor
  • Brings in bug fixes in using APERTUREDB_KEY.
  • Addresses some errors from CI process
  • ingest from_croissant is available as adb command, and MLCroissant as an SDK class.

@gsaluja9
gsaluja9 merged commit 123effc into main Jun 26, 2025
@luisremis
luisremis requested a review from Copilot June 26, 2025 20:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the test suite, enhances ingestion commands (including a new from_croissant CLI), refines connector configuration handling, and adds the MLCroissant SDK integration.

  • Tests now include a --no-interactive flag and shell scripts improve error handling.
  • Ingestion logic is refactored into _process_data and a new from_croissant command is added.
  • Configuration loading now supports APERTUREDB_KEY from Google Colab and connector port logic is refined.

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test/test_CLI.py Updated CLI tests to pass --no-interactive flag
test/run_test_container.sh Added startup delay to wait for containers
test/run_test.sh Enabled pipefail for better error handling in test script
test/adb_timing_tests.py Adjusted timing threshold for adb command tests
aperturedb/cli/ingest.py Refactored ingestion into _process_data and added from_croissant command
aperturedb/cli/configure.py Improved name assignment when creating configurations from JSON or key
aperturedb/init.py Bumped package version to 0.4.48
aperturedb/MLCroissant.py Added SDK class for MLCroissant dataset ingestion
aperturedb/EntityUpdateDataCSV.py Reformatted update conditionals in docstring
aperturedb/ConnectorRest.py Enhanced port selection logic in REST connector
aperturedb/Connector.py Added default=str fallback for JSON serialization
aperturedb/CommonLibrary.py Added support for APERTUREDB_KEY Google Colab secret in connector lookup
Comments suppressed due to low confidence (2)

test/adb_timing_tests.py:16

  • [nitpick] It may be helpful to add a comment explaining why the threshold was increased to 1.0 seconds to provide context for future maintainers.
        assert diff.total_seconds() <= 1.0, f"Command {command} took too long"

aperturedb/cli/ingest.py:93

  • [nitpick] The new helper _process_data could benefit from a docstring explaining its parameters and behavior, improving maintainability.
def _process_data(data, sample_count, module_name, batchsize, num_workers, stats, debug):

Comment thread test/test_CLI.py Resolved
Comment thread test/run_test_container.sh Resolved
Comment thread aperturedb/cli/ingest.py
except ImportError:
console.log(
"mlcroissant is not installed. Please install it with `pip install -U mlcroissant`.")
typer.Abort()

Copilot AI Jun 26, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling typer.Abort() without raise will not stop execution. Use raise typer.Abort() to properly abort the command.

Suggested change
typer.Abort()
raise typer.Abort()

Copilot uses AI. Check for mistakes.
Comment thread aperturedb/ConnectorRest.py Resolved
@ali-asadpoor
ali-asadpoor deleted the release-0.4.48 branch November 28, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants