Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_url(self, region_id, ak=None, secret=None):
"""
Generate request url without domain
:param region_id: String
:return: String
"""
sign_params = self.get_query_params()
if 'RegionId' not in list(sign_params.keys()):
sign_params['RegionId'] = region_id
url = oss_signer.get_url(
sign_params,
self.get_uri_pattern(),
self.get_path_params())
return url