Skip to content

Commit

Permalink
feat: re-export RecordID from surrealdb
Browse files Browse the repository at this point in the history
- Add RecordID to __init__.py exports
- Allow importing RecordID directly from surrantic
- Bump version to 0.1.2
  • Loading branch information
lfnovo committed Dec 24, 2024
1 parent 6c25e78 commit 359d6b8
Show file tree
Hide file tree
Showing 3 changed files with 465 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "surrantic"
version = "0.1.1"
version = "0.1.2"
description = "A simple Pydantic ORM implementation for SurrealDB"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -52,6 +52,7 @@ addopts = "-ra -q --cov=surrantic"

[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"mypy>=1.14.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.0",
Expand Down
3 changes: 2 additions & 1 deletion src/surrantic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from surrealdb import RecordID # type: ignore
from .base import ObjectModel, SurranticConfig

__all__ = ["ObjectModel", "SurranticConfig"]
__all__ = ["ObjectModel", "SurranticConfig", "RecordID"]
Loading

0 comments on commit 359d6b8

Please sign in to comment.