def format_url(cls, v: AnyHttpUrl): return v.rstrip('/') + '/'
def _validate_api_url(cls, v: AnyHttpUrl) -> AnyHttpUrl: return parse_obj_as(AnyHttpUrl, v.rstrip("/"))
def format_url(cls, v: AnyHttpUrl): return v.rstrip('/') + '/'
def _validate_api_url(cls, v: AnyHttpUrl) -> AnyHttpUrl: return parse_obj_as(AnyHttpUrl, v.rstrip("/"))