Remove created_at from Snowflake Protocol

This commit is contained in:
Josh 2021-08-22 19:28:10 +10:00 committed by GitHub
parent 69f578abdc
commit d09993d7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,11 +122,6 @@ class Snowflake(Protocol):
__slots__ = ()
id: int
@property
def created_at(self) -> datetime:
""":class:`datetime.datetime`: Returns the model's creation time as an aware datetime in UTC."""
raise NotImplementedError
@runtime_checkable
class User(Snowflake, Protocol):