Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Fix circular import in Object class
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan Chrisp authored and Ethan Chrisp committed Feb 1, 2020
1 parent 7fbd6ad commit ad9ce64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions callofduty/object.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import logging
from typing import Optional

from .client import Client

log: logging.Logger = logging.getLogger(__name__)


Expand All @@ -18,8 +16,8 @@ class Object:

_type: Optional[str] = None

def __init__(self, client: Client):
self._client: Client = client
def __init__(self, client):
self._client = client

@property
def type(self) -> Optional[str]:
Expand Down

0 comments on commit ad9ce64

Please sign in to comment.