Skip to content

Conversation

@rmk135
Copy link
Member

@rmk135 rmk135 commented Aug 16, 2021

No description provided.

@rmk135 rmk135 self-assigned this Aug 16, 2021
@coveralls
Copy link

coveralls commented Aug 16, 2021

Coverage Status

Coverage increased (+0.05%) to 94.187% when pulling 961e982 on 488-Fix-resource-generic-typing into 48df949 on develop.



class AsyncResource(Generic[T], metaclass=ResourceMeta):
class AsyncResource(Generic[T]):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this still not need to inherit from abc.ABC?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm... It probably needs to. I didn't have a test for unimplemented abc methods. I'll revise this later today. Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returned abc.ABCMeta inheritance and added tests in 1163ac5. I should be more watchful. Thanks for pointing out the issue.



class Resource(Generic[T], metaclass=ResourceMeta):
class Resource(Generic[T]):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this still not need to inherit from abc.ABC?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants