def test_credentials_from_dict() -> None:
    assert isinstance(_Credentials.from_dict({'username': 'foo', 'api-key': 'bar'}), _Credentials)
def test_credentials_from_dict() -> None:
    assert isinstance(_Credentials.from_dict({'username': 'foo', 'api-key': 'bar'}), _Credentials)