-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented client and updated README
- Loading branch information
1 parent
efdd681
commit 992885b
Showing
57 changed files
with
247 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/.env_oauth | ||
client/.env_oauth | ||
/infra/terraform.tfvars | ||
/.idea/.gitignore | ||
/infra/.terraform.lock.hcl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from .logger import logger | ||
|
||
__all__ = ["logger"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# client/models/__init__.py | ||
from .hero import Hero | ||
|
||
from .dnd_hero import DnDHero, AbilityScores, SkillProficiencies, Equipment, Spell | ||
|
||
__all__ = ["DnDHero", "AbilityScores", "SkillProficiencies", "Equipment", "Spell"] | ||
__all__ = ["Hero"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from typing import Optional | ||
from pydantic import BaseModel | ||
|
||
|
||
class Hero(BaseModel): | ||
id: str | ||
name: str | ||
race: str | ||
class_: str # Avoids conflict with the Python `class` keyword | ||
level: int | ||
background: Optional[str] = None | ||
alignment: Optional[str] = None | ||
hit_points: int | ||
armor_class: int | ||
speed: int | ||
personality_traits: Optional[str] = None | ||
ideals: Optional[str] = None | ||
bonds: Optional[str] = None | ||
flaws: Optional[str] = None |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
fastapi==0.115.2 # FastAPI framework for building APIs | ||
uvicorn==0.32.0 # ASGI server for running FastAPI apps | ||
pydantic==2.9.2 # Data validation and parsing for FastAPI models | ||
fastapi==0.115.2 | ||
uvicorn==0.32.0 | ||
pydantic==2.9.2 | ||
config~=0.5.1 | ||
dotenv~=0.0.5 | ||
python-dotenv==1.0.1 | ||
httpx==0.27.2 | ||
jwt==1.3.1 | ||
pyjwt==2.9.0 | ||
pydantic_settings==2.6.0 |
Oops, something went wrong.