Skip to content

Commit

Permalink
Fix another typo
Browse files Browse the repository at this point in the history
Signed-off-by: lugi0 <[email protected]>
  • Loading branch information
lugi0 committed Jan 13, 2025
1 parent 29ce376 commit 4f94e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utilities/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ class Protocols:
HTTPS: str = "https"
GRPC: str = "grpc"
REST: str = "rest"
TCP_PROTOCOLS: set[str] = {"HTTP", "HTTPS"}
ALL_SUPPORTED_PROTOCOLS: set[str] = TCP_PROTOCOLS.union({"GRPC"})


class HTTPRequest:
# Use string formatting to set the token value when using this constant
AUTH_HEADER: str = "-H 'Authorization: Bearer {token}'"
CONTENT_JSON: str = "-H 'Content-Type: application/json'"
TCP_PROTOCOLS: set[str] = {"HTTP", "HTTPS"}
ALL_SUPPORTED_PROTOCOLS: set[str] = TCP_PROTOCOLS.union({"GRPC"})


class AcceleratorType:
Expand Down

0 comments on commit 4f94e46

Please sign in to comment.