Skip to content

Fixed numerous bugs#3

Merged
sn merged 1 commit into
mainfrom
chore/bug-fixes-for-hosted-envs
Jan 31, 2026
Merged

Fixed numerous bugs#3
sn merged 1 commit into
mainfrom
chore/bug-fixes-for-hosted-envs

Conversation

@sn

@sn sn commented Jan 31, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces several improvements and fixes to the nitro-datastore package, focusing on enhanced error handling, improved efficiency, and minor documentation and versioning updates. The most significant change is the addition of a strict mode to the from_directory method, allowing users to control how invalid JSON files are handled during directory loading.

Error Handling & API Improvements:

  • Added a strict parameter to the NitroDataStore.from_directory method, enabling users to choose whether invalid JSON files should raise exceptions or be skipped silently. The method's docstring and exception documentation were updated accordingly. [1] [2] [3] [4] [5]

Performance & Code Quality:

  • Optimized the diff method in NitroDataStore by creating a single NitroDataStore instance for the other argument, reducing redundant instantiations and improving efficiency.
  • Fixed a bug in QueryBuilder.first() where the limit was not reset after execution, ensuring correct behavior for subsequent queries.

Versioning:

  • Bumped the package version from 1.0.2 to 1.0.3 in pyproject.toml.

@sn sn self-assigned this Jan 31, 2026
@sn sn merged commit b6b0f62 into main Jan 31, 2026
6 checks passed
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.

1 participant