projectdavid-orm 1.1.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- projectdavid_orm-1.1.5/CHANGELOG.md +67 -0
- projectdavid_orm-1.1.5/LICENSE +131 -0
- projectdavid_orm-1.1.5/MANIFEST.in +9 -0
- projectdavid_orm-1.1.5/PKG-INFO +40 -0
- projectdavid_orm-1.1.5/README.md +18 -0
- projectdavid_orm-1.1.5/pyproject.toml +53 -0
- projectdavid_orm-1.1.5/setup.cfg +4 -0
- projectdavid_orm-1.1.5/src/projectdavid_common.egg-info/PKG-INFO +32 -0
- projectdavid_orm-1.1.5/src/projectdavid_common.egg-info/SOURCES.txt +32 -0
- projectdavid_orm-1.1.5/src/projectdavid_common.egg-info/dependency_links.txt +1 -0
- projectdavid_orm-1.1.5/src/projectdavid_common.egg-info/entry_points.txt +2 -0
- projectdavid_orm-1.1.5/src/projectdavid_common.egg-info/requires.txt +5 -0
- projectdavid_orm-1.1.5/src/projectdavid_common.egg-info/top_level.txt +1 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm/__init__.py +5 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm/constants/__init__.py +8 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm/ormInterface.py +42 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm/projectdavid_orm/__init__.py +0 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm/projectdavid_orm/base.py +3 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm/projectdavid_orm/models.py +986 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm/utilities/__init__.py +0 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm.egg-info/PKG-INFO +40 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm.egg-info/SOURCES.txt +24 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm.egg-info/dependency_links.txt +1 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm.egg-info/requires.txt +10 -0
- projectdavid_orm-1.1.5/src/projectdavid_orm.egg-info/top_level.txt +1 -0
- projectdavid_orm-1.1.5/tests/test_clients.py +22 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
## [1.1.5](https://github.com/project-david-ai/projectdavid-orm/compare/v1.1.4...v1.1.5) (2026-03-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* streamline test_tag_release workflow by removing `dev` branch logic and updating PyPI token configuration ([89a1be2](https://github.com/project-david-ai/projectdavid-orm/commit/89a1be2b410a1ce275f36e224fa407a4be4a1a26))
|
|
7
|
+
|
|
8
|
+
## [1.1.4](https://github.com/project-david-ai/projectdavid-orm/compare/v1.1.3...v1.1.4) (2026-03-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* remove unused id-token permission from test_tag_release workflow ([c7225e7](https://github.com/project-david-ai/projectdavid-orm/commit/c7225e7432a26bf1fe32d429347ab79c286bced1))
|
|
14
|
+
|
|
15
|
+
## [1.1.3](https://github.com/project-david-ai/projectdavid-orm/compare/v1.1.2...v1.1.3) (2026-03-18)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* remove unused id-token permission from test_tag_release workflow ([cd79ff9](https://github.com/project-david-ai/projectdavid-orm/commit/cd79ff9465b532031c64a7add2a9785a8bfef567))
|
|
21
|
+
|
|
22
|
+
## [1.1.2](https://github.com/project-david-ai/projectdavid-orm/compare/v1.1.1...v1.1.2) (2026-03-18)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* remove unused id-token permission from test_tag_release workflow ([a34000d](https://github.com/project-david-ai/projectdavid-orm/commit/a34000da052f404db798da691ab2c5fa5815eeeb))
|
|
28
|
+
|
|
29
|
+
## [1.1.1](https://github.com/project-david-ai/projectdavid-orm/compare/v1.1.0...v1.1.1) (2026-03-18)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* update PyPI repository URLs and add attestations flag in test_tag_release workflow ([a2dca7e](https://github.com/project-david-ai/projectdavid-orm/commit/a2dca7e521732302f8d0acb86390f3f061aae07e))
|
|
35
|
+
|
|
36
|
+
# [1.1.0](https://github.com/project-david-ai/projectdavid-orm/compare/v1.0.0...v1.1.0) (2026-03-18)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* remove redundant newline in README.md instructions ([dea758d](https://github.com/project-david-ai/projectdavid-orm/commit/dea758d4d80eb0e6f2b75e80e712652779afbe63))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* add version.py for managing application versioning ([6ec6e42](https://github.com/project-david-ai/projectdavid-orm/commit/6ec6e425eba9e790e2a4a4c24aea5fa60c1f1057))
|
|
47
|
+
|
|
48
|
+
# 1.0.0 (2026-03-18)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* codebase for improved readability by consistently formatting SQLAlchemy column definitions and relationships. Adjust test log messages for clarity. ([e302b55](https://github.com/project-david-ai/projectdavid-orm/commit/e302b5580d35537db028a4cbea23d2d7f833cffc))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Features
|
|
57
|
+
|
|
58
|
+
* Set up release automation and project metadata files, including .releaserc.json, scripts, and editor configurations. ([4a747bb](https://github.com/project-david-ai/projectdavid-orm/commit/4a747bbf133f19c31629587955dd009545e241b5))
|
|
59
|
+
|
|
60
|
+
# Changelog
|
|
61
|
+
|
|
62
|
+
All notable changes to this project will be documented in this file.
|
|
63
|
+
|
|
64
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
65
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
66
|
+
|
|
67
|
+
---
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# PolyForm Noncommercial License 1.0.0
|
|
2
|
+
|
|
3
|
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
4
|
+
|
|
5
|
+
## Acceptance
|
|
6
|
+
|
|
7
|
+
In order to get any license under these terms, you must agree
|
|
8
|
+
to them as both strict obligations and conditions to all
|
|
9
|
+
your licenses.
|
|
10
|
+
|
|
11
|
+
## Copyright License
|
|
12
|
+
|
|
13
|
+
The licensor grants you a copyright license for the
|
|
14
|
+
software to do everything you might do with the software
|
|
15
|
+
that would otherwise infringe the licensor's copyright
|
|
16
|
+
in it for any permitted purpose. However, you may
|
|
17
|
+
only distribute the software according to [Distribution
|
|
18
|
+
License](#distribution-license) and make changes or new works
|
|
19
|
+
based on the software according to [Changes and New Works
|
|
20
|
+
License](#changes-and-new-works-license).
|
|
21
|
+
|
|
22
|
+
## Distribution License
|
|
23
|
+
|
|
24
|
+
The licensor grants you an additional copyright license
|
|
25
|
+
to distribute copies of the software. Your license
|
|
26
|
+
to distribute covers distributing the software with
|
|
27
|
+
changes and new works permitted by [Changes and New Works
|
|
28
|
+
License](#changes-and-new-works-license).
|
|
29
|
+
|
|
30
|
+
## Notices
|
|
31
|
+
|
|
32
|
+
You must ensure that anyone who gets a copy of any part of
|
|
33
|
+
the software from you also gets a copy of these terms or the
|
|
34
|
+
URL for them above, as well as copies of any plain-text lines
|
|
35
|
+
beginning with `Required Notice:` that the licensor provided
|
|
36
|
+
with the software. For example:
|
|
37
|
+
|
|
38
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
39
|
+
|
|
40
|
+
## Changes and New Works License
|
|
41
|
+
|
|
42
|
+
The licensor grants you an additional copyright license to
|
|
43
|
+
make changes and new works based on the software for any
|
|
44
|
+
permitted purpose.
|
|
45
|
+
|
|
46
|
+
## Patent License
|
|
47
|
+
|
|
48
|
+
The licensor grants you a patent license for the software that
|
|
49
|
+
covers patent claims the licensor can license, or becomes able
|
|
50
|
+
to license, that you would infringe by using the software.
|
|
51
|
+
|
|
52
|
+
## Noncommercial Purposes
|
|
53
|
+
|
|
54
|
+
Any noncommercial purpose is a permitted purpose.
|
|
55
|
+
|
|
56
|
+
## Personal Uses
|
|
57
|
+
|
|
58
|
+
Personal use for research, experiment, and testing for
|
|
59
|
+
the benefit of public knowledge, personal study, private
|
|
60
|
+
entertainment, hobby projects, amateur pursuits, or religious
|
|
61
|
+
observance, without any anticipated commercial application,
|
|
62
|
+
is use for a permitted purpose.
|
|
63
|
+
|
|
64
|
+
## Noncommercial Organizations
|
|
65
|
+
|
|
66
|
+
Use by any charitable organization, educational institution,
|
|
67
|
+
public research organization, public safety or health
|
|
68
|
+
organization, environmental protection organization,
|
|
69
|
+
or government institution is use for a permitted purpose
|
|
70
|
+
regardless of the source of funding or obligations resulting
|
|
71
|
+
from the funding.
|
|
72
|
+
|
|
73
|
+
## Fair Use
|
|
74
|
+
|
|
75
|
+
You may have "fair use" rights for the software under the
|
|
76
|
+
law. These terms do not limit them.
|
|
77
|
+
|
|
78
|
+
## No Other Rights
|
|
79
|
+
|
|
80
|
+
These terms do not allow you to sublicense or transfer any of
|
|
81
|
+
your licenses to anyone else, or prevent the licensor from
|
|
82
|
+
granting licenses to anyone else. These terms do not imply
|
|
83
|
+
any other licenses.
|
|
84
|
+
|
|
85
|
+
## Patent Defense
|
|
86
|
+
|
|
87
|
+
If you make any written claim that the software infringes or
|
|
88
|
+
contributes to infringement of any patent, your patent license
|
|
89
|
+
for the software granted under these terms ends immediately. If
|
|
90
|
+
your company makes such a claim, your patent license ends
|
|
91
|
+
immediately for work on behalf of your company.
|
|
92
|
+
|
|
93
|
+
## Violations
|
|
94
|
+
|
|
95
|
+
The first time you are notified in writing that you have
|
|
96
|
+
violated any of these terms, or done anything with the software
|
|
97
|
+
not covered by your licenses, your licenses can nonetheless
|
|
98
|
+
continue if you come into full compliance with these terms,
|
|
99
|
+
and take practical steps to correct past violations, within
|
|
100
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
101
|
+
end immediately.
|
|
102
|
+
|
|
103
|
+
## No Liability
|
|
104
|
+
|
|
105
|
+
***As far as the law allows, the software comes as is, without
|
|
106
|
+
any warranty or condition, and the licensor will not be liable
|
|
107
|
+
to you for any damages arising out of these terms or the use
|
|
108
|
+
or nature of the software, under any kind of legal claim.***
|
|
109
|
+
|
|
110
|
+
## Definitions
|
|
111
|
+
|
|
112
|
+
The **licensor** is the individual or entity offering these
|
|
113
|
+
terms, and the **software** is the software the licensor makes
|
|
114
|
+
available under these terms.
|
|
115
|
+
|
|
116
|
+
**You** refers to the individual or entity agreeing to these
|
|
117
|
+
terms.
|
|
118
|
+
|
|
119
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
120
|
+
or other kind of organization that you work for, plus all
|
|
121
|
+
organizations that have control over, are under the control of,
|
|
122
|
+
or are under common control with that organization. **Control**
|
|
123
|
+
means ownership of substantially all the assets of an entity,
|
|
124
|
+
or the power to direct its management and policies by vote,
|
|
125
|
+
contract, or otherwise. Control can be direct or indirect.
|
|
126
|
+
|
|
127
|
+
**Your licenses** are all the licenses granted to you for the
|
|
128
|
+
software under these terms.
|
|
129
|
+
|
|
130
|
+
**Use** means anything you do with the software requiring one
|
|
131
|
+
of your licenses.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: projectdavid-orm
|
|
3
|
+
Version: 1.1.5
|
|
4
|
+
Summary: Shared SQLAlchemy ORM models for ProjectDavid services
|
|
5
|
+
Author-email: "Francis N." <francis.neequaye@projectdavid.co.uk>
|
|
6
|
+
License: Polyform
|
|
7
|
+
Project-URL: Homepage, https://github.com/frankie336/projectdavid-orm
|
|
8
|
+
Keywords: orm,sqlalchemy,models,projectdavid,internal
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Requires-Dist: sqlalchemy>=2.0
|
|
13
|
+
Requires-Dist: pymysql
|
|
14
|
+
Requires-Dist: pydantic>=2.0
|
|
15
|
+
Requires-Dist: python-dotenv
|
|
16
|
+
Requires-Dist: projectdavid_common==0.50.0
|
|
17
|
+
Provides-Extra: dev
|
|
18
|
+
Requires-Dist: pytest; extra == "dev"
|
|
19
|
+
Requires-Dist: black; extra == "dev"
|
|
20
|
+
Requires-Dist: isort; extra == "dev"
|
|
21
|
+
Dynamic: license-file
|
|
22
|
+
|
|
23
|
+
# projectdavid-orm
|
|
24
|
+
|
|
25
|
+
Shared SQLAlchemy ORM models and database utilities for the ProjectDavid platform.
|
|
26
|
+
|
|
27
|
+
Provides a single source of truth for all database models used across ProjectDavid microservices, eliminating duplication between the core API, training service, and any future services that require direct database access.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Overview
|
|
32
|
+
|
|
33
|
+
ProjectDavid is a self-hosted, multi-provider LLM runtime API. As the platform grows into multiple microservices (inference API, training API, sandbox, etc.), each service needs access to the same database schema. Rather than duplicating model definitions or making inter-service HTTP calls just to read data, `projectdavid-orm` exposes the full SQLAlchemy model layer as a shared, versioned package.
|
|
34
|
+
|
|
35
|
+
Any service that needs direct DB access simply installs this package and imports the models it needs.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
## Installation
|
|
39
|
+
```bash
|
|
40
|
+
pip install projectdavid-orm
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# projectdavid-orm
|
|
2
|
+
|
|
3
|
+
Shared SQLAlchemy ORM models and database utilities for the ProjectDavid platform.
|
|
4
|
+
|
|
5
|
+
Provides a single source of truth for all database models used across ProjectDavid microservices, eliminating duplication between the core API, training service, and any future services that require direct database access.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Overview
|
|
10
|
+
|
|
11
|
+
ProjectDavid is a self-hosted, multi-provider LLM runtime API. As the platform grows into multiple microservices (inference API, training API, sandbox, etc.), each service needs access to the same database schema. Rather than duplicating model definitions or making inter-service HTTP calls just to read data, `projectdavid-orm` exposes the full SQLAlchemy model layer as a shared, versioned package.
|
|
12
|
+
|
|
13
|
+
Any service that needs direct DB access simply installs this package and imports the models it needs.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
## Installation
|
|
17
|
+
```bash
|
|
18
|
+
pip install projectdavid-orm
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "projectdavid-orm"
|
|
7
|
+
version = "1.1.5"
|
|
8
|
+
description = "Shared SQLAlchemy ORM models for ProjectDavid services"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
authors = [
|
|
11
|
+
{ name = "Francis N.", email = "francis.neequaye@projectdavid.co.uk" }
|
|
12
|
+
]
|
|
13
|
+
license = { text = "Polyform" }
|
|
14
|
+
keywords = ["orm", "sqlalchemy", "models", "projectdavid", "internal"]
|
|
15
|
+
requires-python = ">=3.10"
|
|
16
|
+
|
|
17
|
+
dependencies = [
|
|
18
|
+
"sqlalchemy>=2.0",
|
|
19
|
+
"pymysql",
|
|
20
|
+
"pydantic>=2.0",
|
|
21
|
+
"python-dotenv",
|
|
22
|
+
"projectdavid_common==0.50.0",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.optional-dependencies]
|
|
26
|
+
dev = [
|
|
27
|
+
"pytest",
|
|
28
|
+
"black",
|
|
29
|
+
"isort"
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Homepage = "https://github.com/frankie336/projectdavid-orm"
|
|
34
|
+
|
|
35
|
+
[tool.setuptools]
|
|
36
|
+
package-dir = { "" = "src" }
|
|
37
|
+
|
|
38
|
+
[tool.setuptools.packages.find]
|
|
39
|
+
where = ["src"]
|
|
40
|
+
include = ["projectdavid_orm", "projectdavid_orm.*"]
|
|
41
|
+
|
|
42
|
+
[tool.black]
|
|
43
|
+
line-length = 100
|
|
44
|
+
target-version = ["py310"]
|
|
45
|
+
skip-string-normalization = true
|
|
46
|
+
|
|
47
|
+
[tool.flake8]
|
|
48
|
+
max-line-length = 200
|
|
49
|
+
extend-ignore = ["E203"]
|
|
50
|
+
exclude = [".venv", ".git", "__pycache__", "build", "dist"]
|
|
51
|
+
|
|
52
|
+
[tool.isort]
|
|
53
|
+
profile = "black"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: projectdavid_common
|
|
3
|
+
Version: 0.1.14
|
|
4
|
+
Summary: Common shared custom packages
|
|
5
|
+
Author-email: "Francis N." <francis.neequaye@projectdavid.co.uk>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/frankie336/projectdavid_common
|
|
8
|
+
Keywords: shared,internal,utilities,schemas
|
|
9
|
+
Requires-Python: >=3.8
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: pydantic
|
|
12
|
+
Requires-Dist: typing_extensions
|
|
13
|
+
Provides-Extra: dev
|
|
14
|
+
Requires-Dist: pytest; extra == "dev"
|
|
15
|
+
|
|
16
|
+
# Entities Common
|
|
17
|
+
[](https://github.com/frankie336/entitites_sdk/actions/workflows/test_tag_release.yml)
|
|
18
|
+
|
|
19
|
+
The **Projectdavid Common** SDK is a shared library that serves as a central resource for multiple components within the same
|
|
20
|
+
project. It consolidates common functionality across disparate parts of the project, reducing duplication and improving
|
|
21
|
+
maintainability. By providing a unified interface, Entities Common simplifies interactions with the
|
|
22
|
+
and future related products.
|
|
23
|
+
|
|
24
|
+
[Entities API](https://github.com/frankie336/entities_api), the [projectdavid SDK](https://github.com/frankie336/entitites_sdk) ,
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# Resources
|
|
28
|
+
|
|
29
|
+
| Resource | Descrption |
|
|
30
|
+
|---------------------------------------------------------|------------------------------------|
|
|
31
|
+
| [ValidationInterface](/docs/validation_interface.md) | Unified pydentc validation classes |
|
|
32
|
+
| [UtilsInterface](/docs/utils_interface.md) | Utilites and tools |
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
MANIFEST.in
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
src/projectdavid_common/__init__.py
|
|
5
|
+
src/projectdavid_common/utils.py
|
|
6
|
+
src/projectdavid_common/validation.py
|
|
7
|
+
src/projectdavid_common.egg-info/PKG-INFO
|
|
8
|
+
src/projectdavid_common.egg-info/SOURCES.txt
|
|
9
|
+
src/projectdavid_common.egg-info/dependency_links.txt
|
|
10
|
+
src/projectdavid_common.egg-info/entry_points.txt
|
|
11
|
+
src/projectdavid_common.egg-info/requires.txt
|
|
12
|
+
src/projectdavid_common.egg-info/top_level.txt
|
|
13
|
+
src/projectdavid_common/constants/__init__.py
|
|
14
|
+
src/projectdavid_common/constants/platform.py
|
|
15
|
+
src/projectdavid_common/schemas/__init__.py
|
|
16
|
+
src/projectdavid_common/schemas/actions.py
|
|
17
|
+
src/projectdavid_common/schemas/assistants.py
|
|
18
|
+
src/projectdavid_common/schemas/enums.py
|
|
19
|
+
src/projectdavid_common/schemas/file_service.py
|
|
20
|
+
src/projectdavid_common/schemas/files.py
|
|
21
|
+
src/projectdavid_common/schemas/inference.py
|
|
22
|
+
src/projectdavid_common/schemas/keys.py
|
|
23
|
+
src/projectdavid_common/schemas/messages.py
|
|
24
|
+
src/projectdavid_common/schemas/runs.py
|
|
25
|
+
src/projectdavid_common/schemas/threads.py
|
|
26
|
+
src/projectdavid_common/schemas/tools.py
|
|
27
|
+
src/projectdavid_common/schemas/users.py
|
|
28
|
+
src/projectdavid_common/schemas/vectors.py
|
|
29
|
+
src/projectdavid_common/utilities/__init__.py
|
|
30
|
+
src/projectdavid_common/utilities/identifier_service.py
|
|
31
|
+
src/projectdavid_common/utilities/logging_service.py
|
|
32
|
+
tests/test_vector_store_models.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
projectdavid_common
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# src/projectdavid_orm/ormInterface.py
|
|
2
|
+
from projectdavid_orm.projectdavid_orm.models import *
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class OrmInterface:
|
|
6
|
+
"""
|
|
7
|
+
Exposes Pydantic validation classes, retaining their original naming.
|
|
8
|
+
|
|
9
|
+
This interface allows consumers to access the various schemas like:
|
|
10
|
+
- ValidationInterface.FileUploadRequest
|
|
11
|
+
- ValidationInterface.ActionCreate
|
|
12
|
+
- etc.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
# Api Key model
|
|
16
|
+
ApiKey = ApiKey
|
|
17
|
+
# User model
|
|
18
|
+
User = User
|
|
19
|
+
# GDPR Audit log
|
|
20
|
+
AuditLog = AuditLog
|
|
21
|
+
# Thread model
|
|
22
|
+
Thread = Thread
|
|
23
|
+
# Message model
|
|
24
|
+
Message = Message
|
|
25
|
+
# Run model
|
|
26
|
+
Run = Run
|
|
27
|
+
# Assistant model
|
|
28
|
+
Assistant = Assistant
|
|
29
|
+
# Action model
|
|
30
|
+
Action = Action
|
|
31
|
+
# Sandbox model
|
|
32
|
+
Sandbox = Sandbox
|
|
33
|
+
# File model
|
|
34
|
+
File = File
|
|
35
|
+
# FileStorage model
|
|
36
|
+
FileStorage = FileStorage
|
|
37
|
+
# Batfish model
|
|
38
|
+
BatfishSnapshot = BatfishSnapshot
|
|
39
|
+
# VectorStore model
|
|
40
|
+
VectorStore = VectorStore
|
|
41
|
+
# VectorStoreFile model
|
|
42
|
+
VectorStoreFile = VectorStoreFile
|
|
File without changes
|