def METHOD_NAME():
    class Model(BaseModel):
        foo: int = 123
        def __call__(self, a: int) -> bool:
            pass
    assert _equals(str(signature(Model)), '(*, foo: int = 123) -> None')
    assert _equals(str(signature(Model())), '(a: int) -> bool')
    assert not hasattr(Model(), '__signature__')