Skip to content

Commit

Permalink
Merge pull request #31 from sopherapps/hotfix/error-reference-docs-no…
Browse files Browse the repository at this point in the history
…t-visible

Fix error with the reference docs not being rendered
  • Loading branch information
Tinitto authored Jun 24, 2024
2 parents 232128c + 74139f9 commit d666225
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
18 changes: 17 additions & 1 deletion docs/reference.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
::: pydantic_redis
::: pydantic_redis
handler: python
options:
show_root_heading: true
members: []


::: pydantic_redis.syncio
handler: python
options:
show_root_heading: true


::: pydantic_redis.asyncio
handler: python
options:
show_root_heading: true
2 changes: 1 addition & 1 deletion pydantic_redis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
from pydantic_redis.syncio import Store, Model, RedisConfig
import pydantic_redis.asyncio

__all__ = [Store, RedisConfig, Model, asyncio]
__all__ = ["Store", "RedisConfig", "Model", "asyncio"]

__version__ = "0.5.0"
2 changes: 1 addition & 1 deletion pydantic_redis/asyncio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ async def main():
from .store import Store
from ..config import RedisConfig

__all__ = [Model, Store, RedisConfig]
__all__ = ["Model", "Store", "RedisConfig"]
2 changes: 1 addition & 1 deletion pydantic_redis/syncio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ class Book(Model):
from .store import Store
from ..config import RedisConfig

__all__ = [Model, Store, RedisConfig]
__all__ = ["Model", "Store", "RedisConfig"]

0 comments on commit d666225

Please sign in to comment.