We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Bug: SQL Alchemy repository `updated` vs `updated_at` column reference.
https://github.com/litestar-org/litestar/blob/32396925a573c02eff57aa10b2060f505b920232/litestar/contrib/sqlalchemy/base.py#L69

This incorrectly references the old `updated` column name instead of the `updated_at` column name.

<!-- POLAR PLEDGE BADGE START -->
## Funding
* You can sponsor this specific effort via a [Polar.sh](https://polar.sh) pledge below
* We receive the pledge once the issue is completed & verified

<a href="https://polar.sh/litestar-org/litestar/issues/1905">
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://polar.sh/api/github/litestar-org/litestar/issues/1905/pledge.svg?darkmode=1">
  <img alt="Fund with Polar" src="https://polar.sh/api/github/litestar-org/litestar/issues/1905/pledge.svg">
</picture>
</a>
<!-- POLAR PLEDGE BADGE END -->

StaticFilesConfig and virtual directories
I'm trying to write a ``FileSystemProtocol`` to load files from the package data using [importlib_resources](https://importlib-resources.readthedocs.io/en/latest/using.html#). But because ``directories`` is defined as ``DirectoryPath``, pydantic checks if the given directories exist in the local filesystem. 

This is not generally true, especially in any kind of virtual filesystem (e.g. a zipped package). I think this condition should be relaxed to support virtual filesystems.

https://github.com/starlite-api/starlite/blob/9bb6dcd57c10a591377cf8e3a537e9292566d5b9/starlite/config/static_files.py#L32

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `litestar/contrib/sqlalchemy/base.py`
Content:
```
1 """Application ORM configuration."""
2 from __future__ import annotations
3 
4 import re
5 from datetime import date, datetime, timezone
6 from typing import TYPE_CHECKING, Any, ClassVar, Protocol, TypeVar, runtime_checkable
7 from uuid import UUID, uuid4
8 
9 from pydantic import AnyHttpUrl, AnyUrl, EmailStr
10 from sqlalchemy import Date, MetaData, Sequence, String
11 from sqlalchemy.event import listens_for
12 from sqlalchemy.orm import (
13     DeclarativeBase,
14     Mapped,
15     Session,
16     declared_attr,
17     mapped_column,
18     orm_insert_sentinel,
19     registry,
20 )
21 
22 from .types import GUID, BigIntIdentity, DateTimeUTC, JsonB
23 
24 if TYPE_CHECKING:
25     from sqlalchemy.sql import FromClause
26 
27 __all__ = (
28     "AuditColumns",
29     "BigIntAuditBase",
30     "BigIntBase",
31     "BigIntPrimaryKey",
32     "CommonTableAttributes",
33     "create_registry",
34     "ModelProtocol",
35     "touch_updated_timestamp",
36     "UUIDAuditBase",
37     "UUIDBase",
38     "UUIDPrimaryKey",
39 )
40 
41 
42 UUIDBaseT = TypeVar("UUIDBaseT", bound="UUIDBase")
43 BigIntBaseT = TypeVar("BigIntBaseT", bound="BigIntBase")
44 
45 convention = {
46     "ix": "ix_%(column_0_label)s",
47     "uq": "uq_%(table_name)s_%(column_0_name)s",
48     "ck": "ck_%(table_name)s_%(constraint_name)s",
49     "fk": "fk_%(table_name)s_%(column_0_name)s_%(referred_table_name)s",
50     "pk": "pk_%(table_name)s",
51 }
52 """Templates for automated constraint name generation."""
53 
54 
55 @listens_for(Session, "before_flush")
56 def touch_updated_timestamp(session: Session, *_: Any) -> None:
57     """Set timestamp on update.
58 
59     Called from SQLAlchemy's
60     :meth:`before_flush <sqlalchemy.orm.SessionEvents.before_flush>` event to bump the ``updated``
61     timestamp on modified instances.
62 
63     Args:
64         session: The sync :class:`Session <sqlalchemy.orm.Session>` instance that underlies the async
65             session.
66     """
67     for instance in session.dirty:
68         if hasattr(instance, "updated_at"):
69             instance.updated = (datetime.now(timezone.utc),)
70 
71 
72 @runtime_checkable
73 class ModelProtocol(Protocol):
74     """The base SQLAlchemy model protocol."""
75 
76     __table__: FromClause
77     __name__: ClassVar[str]
78 
79     def to_dict(self, exclude: set[str] | None = None) -> dict[str, Any]:
80         """Convert model to dictionary.
81 
82         Returns:
83             dict[str, Any]: A dict representation of the model
84         """
85         ...
86 
87 
88 class UUIDPrimaryKey:
89     """UUID Primary Key Field Mixin."""
90 
91     id: Mapped[UUID] = mapped_column(default=uuid4, primary_key=True)  # pyright: ignore
92     """UUID Primary key column."""
93 
94     @declared_attr
95     def _sentinel(cls) -> Mapped[int]:
96         return orm_insert_sentinel()
97 
98 
99 class BigIntPrimaryKey:
100     """BigInt Primary Key Field Mixin."""
101 
102     @declared_attr
103     def id(cls) -> Mapped[int]:
104         """BigInt Primary key column."""
105         return mapped_column(
106             BigIntIdentity,
107             Sequence(f"{cls.__tablename__}_id_seq", optional=False),  # type: ignore[attr-defined] # pyright: ignore
108             primary_key=True,
109         )
110 
111 
112 class AuditColumns:
113     """Created/Updated At Fields Mixin."""
114 
115     created_at: Mapped[datetime] = mapped_column(  # pyright: ignore
116         DateTimeUTC(timezone=True),
117         default=lambda: datetime.now(timezone.utc),
118     )
119     """Date/time of instance creation."""
120     updated_at: Mapped[datetime] = mapped_column(  # pyright: ignore
121         DateTimeUTC(timezone=True),
122         default=lambda: datetime.now(timezone.utc),
123     )
124     """Date/time of instance last update."""
125 
126 
127 class CommonTableAttributes:
128     """Common attributes for SQLALchemy tables."""
129 
130     __name__: ClassVar[str]
131     __table__: FromClause
132 
133     # noinspection PyMethodParameters
134     @declared_attr.directive
135     def __tablename__(cls) -> str:
136         """Infer table name from class name."""
137         regexp = re.compile("((?<=[a-z0-9])[A-Z]|(?!^)[A-Z](?=[a-z]))")
138         return regexp.sub(r"_\1", cls.__name__).lower()
139 
140     def to_dict(self, exclude: set[str] | None = None) -> dict[str, Any]:
141         """Convert model to dictionary.
142 
143         Returns:
144             dict[str, Any]: A dict representation of the model
145         """
146         exclude = {"_sentinel"}.union(self._sa_instance_state.unloaded).union(exclude or [])  # type: ignore[attr-defined]
147         return {field.name: getattr(self, field.name) for field in self.__table__.columns if field.name not in exclude}
148 
149 
150 def create_registry() -> registry:
151     """Create a new SQLAlchemy registry."""
152     meta = MetaData(naming_convention=convention)
153     return registry(
154         metadata=meta,
155         type_annotation_map={
156             UUID: GUID,
157             EmailStr: String,
158             AnyUrl: String,
159             AnyHttpUrl: String,
160             dict: JsonB,
161             datetime: DateTimeUTC,
162             date: Date,
163         },
164     )
165 
166 
167 orm_registry = create_registry()
168 
169 
170 class UUIDBase(UUIDPrimaryKey, CommonTableAttributes, DeclarativeBase):
171     """Base for all SQLAlchemy declarative models with UUID primary keys."""
172 
173     registry = orm_registry
174 
175 
176 class UUIDAuditBase(CommonTableAttributes, UUIDPrimaryKey, AuditColumns, DeclarativeBase):
177     """Base for declarative models with UUID primary keys and audit columns."""
178 
179     registry = orm_registry
180 
181 
182 class BigIntBase(BigIntPrimaryKey, CommonTableAttributes, DeclarativeBase):
183     """Base for all SQLAlchemy declarative models with BigInt primary keys."""
184 
185     registry = orm_registry
186 
187 
188 class BigIntAuditBase(CommonTableAttributes, BigIntPrimaryKey, AuditColumns, DeclarativeBase):
189     """Base for declarative models with BigInt primary keys and audit columns."""
190 
191     registry = orm_registry
192
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/litestar/contrib/sqlalchemy/base.py b/litestar/contrib/sqlalchemy/base.py
--- a/litestar/contrib/sqlalchemy/base.py
+++ b/litestar/contrib/sqlalchemy/base.py
@@ -66,7 +66,7 @@
     """
     for instance in session.dirty:
         if hasattr(instance, "updated_at"):
-            instance.updated = (datetime.now(timezone.utc),)
+            instance.updated_at = datetime.now(timezone.utc)
 
 
 @runtime_checkable

{"golden_diff": "diff --git a/litestar/contrib/sqlalchemy/base.py b/litestar/contrib/sqlalchemy/base.py\n--- a/litestar/contrib/sqlalchemy/base.py\n+++ b/litestar/contrib/sqlalchemy/base.py\n@@ -66,7 +66,7 @@\n     \"\"\"\n     for instance in session.dirty:\n         if hasattr(instance, \"updated_at\"):\n-            instance.updated = (datetime.now(timezone.utc),)\n+            instance.updated_at = datetime.now(timezone.utc)\n \n \n @runtime_checkable\n", "issue": "Bug: SQL Alchemy repository `updated` vs `updated_at` column reference.\nhttps://github.com/litestar-org/litestar/blob/32396925a573c02eff57aa10b2060f505b920232/litestar/contrib/sqlalchemy/base.py#L69\r\n\r\nThis incorrectly references the old `updated` column name instead of the `updated_at` column name.\n\n<!-- POLAR PLEDGE BADGE START -->\n## Funding\n* You can sponsor this specific effort via a [Polar.sh](https://polar.sh) pledge below\n* We receive the pledge once the issue is completed & verified\n\n<a href=\"https://polar.sh/litestar-org/litestar/issues/1905\">\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://polar.sh/api/github/litestar-org/litestar/issues/1905/pledge.svg?darkmode=1\">\n  <img alt=\"Fund with Polar\" src=\"https://polar.sh/api/github/litestar-org/litestar/issues/1905/pledge.svg\">\n</picture>\n</a>\n<!-- POLAR PLEDGE BADGE END -->\n\nStaticFilesConfig and virtual directories\nI'm trying to write a ``FileSystemProtocol`` to load files from the package data using [importlib_resources](https://importlib-resources.readthedocs.io/en/latest/using.html#). But because ``directories`` is defined as ``DirectoryPath``, pydantic checks if the given directories exist in the local filesystem. \r\n\r\nThis is not generally true, especially in any kind of virtual filesystem (e.g. a zipped package). I think this condition should be relaxed to support virtual filesystems.\r\n\r\nhttps://github.com/starlite-api/starlite/blob/9bb6dcd57c10a591377cf8e3a537e9292566d5b9/starlite/config/static_files.py#L32\n", "before_files": [{"content": "\"\"\"Application ORM configuration.\"\"\"\nfrom __future__ import annotations\n\nimport re\nfrom datetime import date, datetime, timezone\nfrom typing import TYPE_CHECKING, Any, ClassVar, Protocol, TypeVar, runtime_checkable\nfrom uuid import UUID, uuid4\n\nfrom pydantic import AnyHttpUrl, AnyUrl, EmailStr\nfrom sqlalchemy import Date, MetaData, Sequence, String\nfrom sqlalchemy.event import listens_for\nfrom sqlalchemy.orm import (\n    DeclarativeBase,\n    Mapped,\n    Session,\n    declared_attr,\n    mapped_column,\n    orm_insert_sentinel,\n    registry,\n)\n\nfrom .types import GUID, BigIntIdentity, DateTimeUTC, JsonB\n\nif TYPE_CHECKING:\n    from sqlalchemy.sql import FromClause\n\n__all__ = (\n    \"AuditColumns\",\n    \"BigIntAuditBase\",\n    \"BigIntBase\",\n    \"BigIntPrimaryKey\",\n    \"CommonTableAttributes\",\n    \"create_registry\",\n    \"ModelProtocol\",\n    \"touch_updated_timestamp\",\n    \"UUIDAuditBase\",\n    \"UUIDBase\",\n    \"UUIDPrimaryKey\",\n)\n\n\nUUIDBaseT = TypeVar(\"UUIDBaseT\", bound=\"UUIDBase\")\nBigIntBaseT = TypeVar(\"BigIntBaseT\", bound=\"BigIntBase\")\n\nconvention = {\n    \"ix\": \"ix_%(column_0_label)s\",\n    \"uq\": \"uq_%(table_name)s_%(column_0_name)s\",\n    \"ck\": \"ck_%(table_name)s_%(constraint_name)s\",\n    \"fk\": \"fk_%(table_name)s_%(column_0_name)s_%(referred_table_name)s\",\n    \"pk\": \"pk_%(table_name)s\",\n}\n\"\"\"Templates for automated constraint name generation.\"\"\"\n\n\n@listens_for(Session, \"before_flush\")\ndef touch_updated_timestamp(session: Session, *_: Any) -> None:\n    \"\"\"Set timestamp on update.\n\n    Called from SQLAlchemy's\n    :meth:`before_flush <sqlalchemy.orm.SessionEvents.before_flush>` event to bump the ``updated``\n    timestamp on modified instances.\n\n    Args:\n        session: The sync :class:`Session <sqlalchemy.orm.Session>` instance that underlies the async\n            session.\n    \"\"\"\n    for instance in session.dirty:\n        if hasattr(instance, \"updated_at\"):\n            instance.updated = (datetime.now(timezone.utc),)\n\n\n@runtime_checkable\nclass ModelProtocol(Protocol):\n    \"\"\"The base SQLAlchemy model protocol.\"\"\"\n\n    __table__: FromClause\n    __name__: ClassVar[str]\n\n    def to_dict(self, exclude: set[str] | None = None) -> dict[str, Any]:\n        \"\"\"Convert model to dictionary.\n\n        Returns:\n            dict[str, Any]: A dict representation of the model\n        \"\"\"\n        ...\n\n\nclass UUIDPrimaryKey:\n    \"\"\"UUID Primary Key Field Mixin.\"\"\"\n\n    id: Mapped[UUID] = mapped_column(default=uuid4, primary_key=True)  # pyright: ignore\n    \"\"\"UUID Primary key column.\"\"\"\n\n    @declared_attr\n    def _sentinel(cls) -> Mapped[int]:\n        return orm_insert_sentinel()\n\n\nclass BigIntPrimaryKey:\n    \"\"\"BigInt Primary Key Field Mixin.\"\"\"\n\n    @declared_attr\n    def id(cls) -> Mapped[int]:\n        \"\"\"BigInt Primary key column.\"\"\"\n        return mapped_column(\n            BigIntIdentity,\n            Sequence(f\"{cls.__tablename__}_id_seq\", optional=False),  # type: ignore[attr-defined] # pyright: ignore\n            primary_key=True,\n        )\n\n\nclass AuditColumns:\n    \"\"\"Created/Updated At Fields Mixin.\"\"\"\n\n    created_at: Mapped[datetime] = mapped_column(  # pyright: ignore\n        DateTimeUTC(timezone=True),\n        default=lambda: datetime.now(timezone.utc),\n    )\n    \"\"\"Date/time of instance creation.\"\"\"\n    updated_at: Mapped[datetime] = mapped_column(  # pyright: ignore\n        DateTimeUTC(timezone=True),\n        default=lambda: datetime.now(timezone.utc),\n    )\n    \"\"\"Date/time of instance last update.\"\"\"\n\n\nclass CommonTableAttributes:\n    \"\"\"Common attributes for SQLALchemy tables.\"\"\"\n\n    __name__: ClassVar[str]\n    __table__: FromClause\n\n    # noinspection PyMethodParameters\n    @declared_attr.directive\n    def __tablename__(cls) -> str:\n        \"\"\"Infer table name from class name.\"\"\"\n        regexp = re.compile(\"((?<=[a-z0-9])[A-Z]|(?!^)[A-Z](?=[a-z]))\")\n        return regexp.sub(r\"_\\1\", cls.__name__).lower()\n\n    def to_dict(self, exclude: set[str] | None = None) -> dict[str, Any]:\n        \"\"\"Convert model to dictionary.\n\n        Returns:\n            dict[str, Any]: A dict representation of the model\n        \"\"\"\n        exclude = {\"_sentinel\"}.union(self._sa_instance_state.unloaded).union(exclude or [])  # type: ignore[attr-defined]\n        return {field.name: getattr(self, field.name) for field in self.__table__.columns if field.name not in exclude}\n\n\ndef create_registry() -> registry:\n    \"\"\"Create a new SQLAlchemy registry.\"\"\"\n    meta = MetaData(naming_convention=convention)\n    return registry(\n        metadata=meta,\n        type_annotation_map={\n            UUID: GUID,\n            EmailStr: String,\n            AnyUrl: String,\n            AnyHttpUrl: String,\n            dict: JsonB,\n            datetime: DateTimeUTC,\n            date: Date,\n        },\n    )\n\n\norm_registry = create_registry()\n\n\nclass UUIDBase(UUIDPrimaryKey, CommonTableAttributes, DeclarativeBase):\n    \"\"\"Base for all SQLAlchemy declarative models with UUID primary keys.\"\"\"\n\n    registry = orm_registry\n\n\nclass UUIDAuditBase(CommonTableAttributes, UUIDPrimaryKey, AuditColumns, DeclarativeBase):\n    \"\"\"Base for declarative models with UUID primary keys and audit columns.\"\"\"\n\n    registry = orm_registry\n\n\nclass BigIntBase(BigIntPrimaryKey, CommonTableAttributes, DeclarativeBase):\n    \"\"\"Base for all SQLAlchemy declarative models with BigInt primary keys.\"\"\"\n\n    registry = orm_registry\n\n\nclass BigIntAuditBase(CommonTableAttributes, BigIntPrimaryKey, AuditColumns, DeclarativeBase):\n    \"\"\"Base for declarative models with BigInt primary keys and audit columns.\"\"\"\n\n    registry = orm_registry\n", "path": "litestar/contrib/sqlalchemy/base.py"}], "after_files": [{"content": "\"\"\"Application ORM configuration.\"\"\"\nfrom __future__ import annotations\n\nimport re\nfrom datetime import date, datetime, timezone\nfrom typing import TYPE_CHECKING, Any, ClassVar, Protocol, TypeVar, runtime_checkable\nfrom uuid import UUID, uuid4\n\nfrom pydantic import AnyHttpUrl, AnyUrl, EmailStr\nfrom sqlalchemy import Date, MetaData, Sequence, String\nfrom sqlalchemy.event import listens_for\nfrom sqlalchemy.orm import (\n    DeclarativeBase,\n    Mapped,\n    Session,\n    declared_attr,\n    mapped_column,\n    orm_insert_sentinel,\n    registry,\n)\n\nfrom .types import GUID, BigIntIdentity, DateTimeUTC, JsonB\n\nif TYPE_CHECKING:\n    from sqlalchemy.sql import FromClause\n\n__all__ = (\n    \"AuditColumns\",\n    \"BigIntAuditBase\",\n    \"BigIntBase\",\n    \"BigIntPrimaryKey\",\n    \"CommonTableAttributes\",\n    \"create_registry\",\n    \"ModelProtocol\",\n    \"touch_updated_timestamp\",\n    \"UUIDAuditBase\",\n    \"UUIDBase\",\n    \"UUIDPrimaryKey\",\n)\n\n\nUUIDBaseT = TypeVar(\"UUIDBaseT\", bound=\"UUIDBase\")\nBigIntBaseT = TypeVar(\"BigIntBaseT\", bound=\"BigIntBase\")\n\nconvention = {\n    \"ix\": \"ix_%(column_0_label)s\",\n    \"uq\": \"uq_%(table_name)s_%(column_0_name)s\",\n    \"ck\": \"ck_%(table_name)s_%(constraint_name)s\",\n    \"fk\": \"fk_%(table_name)s_%(column_0_name)s_%(referred_table_name)s\",\n    \"pk\": \"pk_%(table_name)s\",\n}\n\"\"\"Templates for automated constraint name generation.\"\"\"\n\n\n@listens_for(Session, \"before_flush\")\ndef touch_updated_timestamp(session: Session, *_: Any) -> None:\n    \"\"\"Set timestamp on update.\n\n    Called from SQLAlchemy's\n    :meth:`before_flush <sqlalchemy.orm.SessionEvents.before_flush>` event to bump the ``updated``\n    timestamp on modified instances.\n\n    Args:\n        session: The sync :class:`Session <sqlalchemy.orm.Session>` instance that underlies the async\n            session.\n    \"\"\"\n    for instance in session.dirty:\n        if hasattr(instance, \"updated_at\"):\n            instance.updated_at = datetime.now(timezone.utc)\n\n\n@runtime_checkable\nclass ModelProtocol(Protocol):\n    \"\"\"The base SQLAlchemy model protocol.\"\"\"\n\n    __table__: FromClause\n    __name__: ClassVar[str]\n\n    def to_dict(self, exclude: set[str] | None = None) -> dict[str, Any]:\n        \"\"\"Convert model to dictionary.\n\n        Returns:\n            dict[str, Any]: A dict representation of the model\n        \"\"\"\n        ...\n\n\nclass UUIDPrimaryKey:\n    \"\"\"UUID Primary Key Field Mixin.\"\"\"\n\n    id: Mapped[UUID] = mapped_column(default=uuid4, primary_key=True)  # pyright: ignore\n    \"\"\"UUID Primary key column.\"\"\"\n\n    @declared_attr\n    def _sentinel(cls) -> Mapped[int]:\n        return orm_insert_sentinel()\n\n\nclass BigIntPrimaryKey:\n    \"\"\"BigInt Primary Key Field Mixin.\"\"\"\n\n    @declared_attr\n    def id(cls) -> Mapped[int]:\n        \"\"\"BigInt Primary key column.\"\"\"\n        return mapped_column(\n            BigIntIdentity,\n            Sequence(f\"{cls.__tablename__}_id_seq\", optional=False),  # type: ignore[attr-defined] # pyright: ignore\n            primary_key=True,\n        )\n\n\nclass AuditColumns:\n    \"\"\"Created/Updated At Fields Mixin.\"\"\"\n\n    created_at: Mapped[datetime] = mapped_column(  # pyright: ignore\n        DateTimeUTC(timezone=True),\n        default=lambda: datetime.now(timezone.utc),\n    )\n    \"\"\"Date/time of instance creation.\"\"\"\n    updated_at: Mapped[datetime] = mapped_column(  # pyright: ignore\n        DateTimeUTC(timezone=True),\n        default=lambda: datetime.now(timezone.utc),\n    )\n    \"\"\"Date/time of instance last update.\"\"\"\n\n\nclass CommonTableAttributes:\n    \"\"\"Common attributes for SQLALchemy tables.\"\"\"\n\n    __name__: ClassVar[str]\n    __table__: FromClause\n\n    # noinspection PyMethodParameters\n    @declared_attr.directive\n    def __tablename__(cls) -> str:\n        \"\"\"Infer table name from class name.\"\"\"\n        regexp = re.compile(\"((?<=[a-z0-9])[A-Z]|(?!^)[A-Z](?=[a-z]))\")\n        return regexp.sub(r\"_\\1\", cls.__name__).lower()\n\n    def to_dict(self, exclude: set[str] | None = None) -> dict[str, Any]:\n        \"\"\"Convert model to dictionary.\n\n        Returns:\n            dict[str, Any]: A dict representation of the model\n        \"\"\"\n        exclude = {\"_sentinel\"}.union(self._sa_instance_state.unloaded).union(exclude or [])  # type: ignore[attr-defined]\n        return {field.name: getattr(self, field.name) for field in self.__table__.columns if field.name not in exclude}\n\n\ndef create_registry() -> registry:\n    \"\"\"Create a new SQLAlchemy registry.\"\"\"\n    meta = MetaData(naming_convention=convention)\n    return registry(\n        metadata=meta,\n        type_annotation_map={\n            UUID: GUID,\n            EmailStr: String,\n            AnyUrl: String,\n            AnyHttpUrl: String,\n            dict: JsonB,\n            datetime: DateTimeUTC,\n            date: Date,\n        },\n    )\n\n\norm_registry = create_registry()\n\n\nclass UUIDBase(UUIDPrimaryKey, CommonTableAttributes, DeclarativeBase):\n    \"\"\"Base for all SQLAlchemy declarative models with UUID primary keys.\"\"\"\n\n    registry = orm_registry\n\n\nclass UUIDAuditBase(CommonTableAttributes, UUIDPrimaryKey, AuditColumns, DeclarativeBase):\n    \"\"\"Base for declarative models with UUID primary keys and audit columns.\"\"\"\n\n    registry = orm_registry\n\n\nclass BigIntBase(BigIntPrimaryKey, CommonTableAttributes, DeclarativeBase):\n    \"\"\"Base for all SQLAlchemy declarative models with BigInt primary keys.\"\"\"\n\n    registry = orm_registry\n\n\nclass BigIntAuditBase(CommonTableAttributes, BigIntPrimaryKey, AuditColumns, DeclarativeBase):\n    \"\"\"Base for declarative models with BigInt primary keys and audit columns.\"\"\"\n\n    registry = orm_registry\n", "path": "litestar/contrib/sqlalchemy/base.py"}]}