a222b377eab191f4ec68575474b842c0ca565747,polyaxon/libs/http.py,,absolute_uri,#Any#,16
Before Change
if not settings.API_HOST:
return url
return urljoin(settings.API_HOST.rstrip("/") + "/", url.lstrip("/"))
def add_notification_referrer_param(url, provider, is_absolute=True):
if not is_absolute:
After Change
if not settings.API_HOST:
return url
url = urljoin(settings.API_HOST.rstrip("/") + "/", url.lstrip("/"))
return "{}://{}".format(settings.PROTOCOL, url)
def add_notification_referrer_param(url, provider, is_absolute=True):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: polyaxon/polyaxon
Commit Name: a222b377eab191f4ec68575474b842c0ca565747
Time: 2018-11-06
Author: mouradmourafiq@gmail.com
File Name: polyaxon/libs/http.py
Class Name:
Method Name: absolute_uri
Project Name: tensorflow/datasets
Commit Name: b0a7ec5f868efb0c68c0e1d37a2d9bb3da153f13
Time: 2020-01-07
Author: rsepassi@google.com
File Name: tensorflow_datasets/image/places365_small.py
Class Name: Places365Small
Method Name: _split_generators
Project Name: home-assistant/home-assistant
Commit Name: 2b9fb73032cc3fa48302e4619dcb3323624de472
Time: 2017-02-20
Author: github@matthew.noorenberghe.com
File Name: homeassistant/components/zoneminder.py
Class Name:
Method Name: setup
Project Name: home-assistant/home-assistant
Commit Name: 754d536974fccd0768b90938d79071ba0910714a
Time: 2016-10-21
Author: martin@dasos.com
File Name: homeassistant/components/media_player/squeezebox.py
Class Name: SqueezeBoxDevice
Method Name: media_image_url