Skip to content

Commit

Permalink
Merge pull request #12 from cmu-sei/test
Browse files Browse the repository at this point in the history
Change use of AnyUrl to str.
sei-jbooz authored Nov 21, 2022
2 parents 63d6609 + 84b6f98 commit 4a1383c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions gamebrain/gamedata/model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import enum
from typing import Literal

from pydantic import BaseModel, AnyUrl
from pydantic import BaseModel


TaskBranchType = Literal[
@@ -124,12 +124,12 @@ class ShipDataTeamSpecific(BaseModel):
class Config:
use_enum_values = True

codexURL: AnyUrl
workstation1URL: AnyUrl
workstation2URL: AnyUrl
workstation3URL: AnyUrl
workstation4URL: AnyUrl
workstation5URL: AnyUrl
codexURL: str
workstation1URL: str
workstation2URL: str
workstation3URL: str
workstation4URL: str
workstation5URL: str
commPower: PowerStatus = PowerStatus.off
flightPower: PowerStatus = PowerStatus.off
navPower: PowerStatus = PowerStatus.off
@@ -139,7 +139,7 @@ class Config:
class SessionDataTeamSpecific(BaseModel):
teamInfoName: str = None
teamCodexCount: int = 0
jumpCutsceneURL: AnyUrl
jumpCutsceneURL: str


class CommEventData(BaseModel):

0 comments on commit 4a1383c

Please sign in to comment.