Skip to content

Commit

Permalink
Remove some unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tribble committed Jul 22, 2024
1 parent b5e2711 commit 6da108d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions workos/resources/directory_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ class Directory(WorkOSModel):
domain: Optional[str] = None
name: str
organization_id: str
# Toying around with the differences in type hinting or deserialization for enums vs literals. In the end pretty equivalent,
# it's a question of whether we want to present strings or DirectoryState.ACTIVE to the user
# leaving both options here for now until we settle on a preference
state: LiteralOrUntyped[DirectoryState]
type: LiteralOrUntyped[DirectoryType]
created_at: str
Expand Down
2 changes: 0 additions & 2 deletions workos/typing/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

EnumType = TypeVar("EnumType", bound=Enum)

# Identical to the literal or strings path, except meant for a literal of enum values.


def convert_unknown_enum_to_untyped_literal(
value: Any, handler: ValidatorFunctionWrapHandler, info: ValidationInfo
Expand Down

0 comments on commit 6da108d

Please sign in to comment.