Skip to content

Commit

Permalink
Update basilisk/config/account_config.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
AAClause and coderabbitai[bot] authored Feb 14, 2025
1 parent 75c235b commit a492bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basilisk/config/account_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Account(BaseModel):
organizations: Optional[list[AccountOrganization]] = Field(default=None)
active_organization_id: Optional[UUID4] = Field(default=None)
source: AccountSource = Field(default=AccountSource.CONFIG, exclude=True)
custom_base_url: Optional[str] = Field(default=None)
custom_base_url: Optional[str] = Field(default=None, pattern="^https?://[\\w.-]+(?::\\d+)?(?:/[\\w.-]*)*/?$")

def __init__(self, **data: Any):
try:
Expand Down

0 comments on commit a492bc7

Please sign in to comment.