Skip to content

Commit

Permalink
Remove AttachmentModel table_name argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rbw committed Oct 14, 2020
1 parent 7911429 commit baefce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiosnow/models/attachment/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ class AttachmentModel(TableModel):
hash = fields.String()
sys_created_by = fields.String()

def __init__(self, client: Client, table_name: str, return_only: list = None):
def __init__(self, client: Client, return_only: list = None):
self.io_pool_exc = ThreadPoolExecutor(max_workers=10)
self.loop = asyncio.get_running_loop()
super(AttachmentModel, self).__init__(client, table_name, return_only)
super(AttachmentModel, self).__init__(client, "", return_only)

@property
def _api_url(self) -> str:
Expand Down

0 comments on commit baefce3

Please sign in to comment.