MCPcopy Create free account
hub / github.com/alphagov/notifications-api / is_classmethod

Function is_classmethod

app/utils.py:228–231  ·  view source on GitHub ↗
(method, cls: type)

Source from the content-addressed store, hash-verified

226 return number
227
228
229def parse_and_format_phone_number(number: str, with_country_code=True) -> str:
230 phone_number = PhoneNumber(number)
231 if not with_country_code:
232 return str(phone_number.number.national_number)
233 return phone_number.get_normalised_format()
234

Callers 1

wrapperFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected