I have a Python protocol.
class FooBar(Protocol):
@staticmethod
def some_method(data: Dict[str, Any], conn: Connection) -> BaseModel:
And recently I've seen people implement the Protocol methods with an Ellipsis like this.
class FooBar(Protocol):
def some_method(data: Dict[str, Any], conn: Connection) -> BaseModel:
...
Is there a benefit to using a static method vs an ellipsis within the context of a Protocol?