MCPcopy
hub / github.com/iojw/socialscan / response_invalid

Method response_invalid

socialscan/platforms.py:89–98  ·  view source on GitHub ↗
(self, query, *, message="Invalid")

Source from the content-addressed store, hash-verified

87 )
88
89 def response_invalid(self, query, *, message="Invalid"):
90 return PlatformResponse(
91 platform=Platforms(self.__class__),
92 query=query,
93 available=False,
94 valid=False,
95 success=True,
96 message=message,
97 link=None,
98 )
99
100 def response_unavailable_or_invalid(self, query, *, message, unavailable_messages, link=None):
101 if any(x in message for x in unavailable_messages):

Callers 6

check_emailMethod · 0.80
_checkMethod · 0.80
check_usernameMethod · 0.80
check_emailMethod · 0.80
check_usernameMethod · 0.80

Calls 2

PlatformResponseClass · 0.85
PlatformsClass · 0.85

Tested by

no test coverage detected