Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed Nov 5, 2024
1 parent f389400 commit 5309d0e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion portkey_ai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,5 @@
"VirtualKeys",
"AsyncVirtualKeys",
"Logs",
"AsyncLogs"
"AsyncLogs",
]
2 changes: 1 addition & 1 deletion portkey_ai/api_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,5 @@
"VirtualKeys",
"AsyncVirtualKeys",
"Logs",
"AsyncLogs"
"AsyncLogs",
]
3 changes: 2 additions & 1 deletion portkey_ai/api_resources/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
from .api_keys import ApiKeys, AsyncApiKeys
from .virtual_keys import VirtualKeys, AsyncVirtualKeys
from .logs import Logs, AsyncLogs

__all__ = [
"Completion",
"AsyncCompletion",
Expand Down Expand Up @@ -160,5 +161,5 @@
"VirtualKeys",
"AsyncVirtualKeys",
"Logs",
"AsyncLogs"
"AsyncLogs",
]
6 changes: 4 additions & 2 deletions portkey_ai/api_resources/apis/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
class Logs(APIResource):
def __init__(self, client: APIClient) -> None:
super().__init__(client)
self.exports=Exports(client)
self.exports = Exports(client)


class Exports(APIResource):
def __init__(self, client: APIClient) -> None:
Expand Down Expand Up @@ -150,7 +151,8 @@ def download(
class AsyncLogs(AsyncAPIResource):
def __init__(self, client: AsyncAPIClient) -> None:
super().__init__(client)
self.exports=AsyncExports(client)
self.exports = AsyncExports(client)


class AsyncExports(AsyncAPIResource):
def __init__(self, client: AsyncAPIClient) -> None:
Expand Down
2 changes: 1 addition & 1 deletion portkey_ai/api_resources/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def __init__(
self.configs = apis.AsyncConfigs(self)
self.api_keys = apis.AsyncApiKeys(self)
self.virtual_keys = apis.AsyncVirtualKeys(self)
self.logs=apis.AsyncLogs(self)
self.logs = apis.AsyncLogs(self)
self.beta = self.beta(self) # type: ignore

def copy(
Expand Down
3 changes: 2 additions & 1 deletion portkey_ai/api_resources/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ class PortkeyApiPaths(str, Enum, metaclass=MetaEnum):
CONFIG_API = "/configs"
API_KEYS_API = "/api-keys"
VIRTUAL_KEYS_API = "/virtual-keys"
LOGS_EXPORT_API = "/logs/exports"
LOGS_EXPORT_API = "/logs/exports"


class Options(BaseModel):
method: str
Expand Down

0 comments on commit 5309d0e

Please sign in to comment.