Source code for allensdk.core.typing
from typing import _Protocol
from abc import abstractmethod
[docs]class SupportsStr(_Protocol):
"""Classes that support the __str__ method"""
@abstractmethod
def __str__(self) -> str:
pass
from typing import _Protocol
from abc import abstractmethod
[docs]class SupportsStr(_Protocol):
"""Classes that support the __str__ method"""
@abstractmethod
def __str__(self) -> str:
pass