Skip to content

Commit 359d6b8

Browse files
committed
feat: re-export RecordID from surrealdb
- Add RecordID to __init__.py exports - Allow importing RecordID directly from surrantic - Bump version to 0.1.2
1 parent 6c25e78 commit 359d6b8

File tree

3 files changed

+465
-3
lines changed

3 files changed

+465
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "surrantic"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "A simple Pydantic ORM implementation for SurrealDB"
55
readme = "README.md"
66
authors = [
@@ -52,6 +52,7 @@ addopts = "-ra -q --cov=surrantic"
5252

5353
[dependency-groups]
5454
dev = [
55+
"ipykernel>=6.29.5",
5556
"mypy>=1.14.0",
5657
"pytest>=8.3.4",
5758
"pytest-asyncio>=0.25.0",

src/surrantic/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from surrealdb import RecordID # type: ignore
12
from .base import ObjectModel, SurranticConfig
23

3-
__all__ = ["ObjectModel", "SurranticConfig"]
4+
__all__ = ["ObjectModel", "SurranticConfig", "RecordID"]

0 commit comments

Comments
 (0)