generated from daniil-berg/boilerplate-py
Add license and package level import
This commit is contained in:
parent
a613c3edcd
commit
ee9a0de334
@ -13,6 +13,7 @@ project_urls =
|
|||||||
classifiers =
|
classifiers =
|
||||||
Development Status :: 3 - Alpha
|
Development Status :: 3 - Alpha
|
||||||
Intended Audience :: Developers
|
Intended Audience :: Developers
|
||||||
|
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
|
||||||
Operating System :: OS Independent
|
Operating System :: OS Independent
|
||||||
Programming Language :: Python :: 3 :: Only
|
Programming Language :: Python :: 3 :: Only
|
||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
from .sqla import from_sqla
|
@ -1,3 +1,23 @@
|
|||||||
|
__author__ = "Daniil Fajnberg"
|
||||||
|
__copyright__ = "Copyright © 2022 Daniil Fajnberg"
|
||||||
|
__license__ = """GNU LGPLv3.0
|
||||||
|
|
||||||
|
This file is part of orm2pydantic.
|
||||||
|
|
||||||
|
orm2pydantic is free software: you can redistribute it and/or modify it under the terms of
|
||||||
|
version 3.0 of the GNU Lesser General Public License as published by the Free Software Foundation.
|
||||||
|
|
||||||
|
orm2pydantic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||||
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
See the GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License along with orm2pydantic.
|
||||||
|
If not, see <https://www.gnu.org/licenses/>."""
|
||||||
|
|
||||||
|
__doc__ = """
|
||||||
|
Functions for turning SQLAlchemy objects into corresponding Pydantic objects.
|
||||||
|
"""
|
||||||
|
|
||||||
from typing import Container, Type
|
from typing import Container, Type
|
||||||
|
|
||||||
from pydantic import create_model, BaseConfig, BaseModel, Field
|
from pydantic import create_model, BaseConfig, BaseModel, Field
|
||||||
|
Loading…
Reference in New Issue
Block a user