1d70dc3a2c2793248da651f19f58e0dc42b98d86,src/data/orthofoto/wms/wms_api.py,WmsApi,__init__,#WmsApi#Any#,13
Before Change
class WmsApi:
def __init__(self, zoom_level=19):
self.logger = logging.getLogger(__name__)
self.current_directory = os.path.dirname(os.path.realpath(__file__))
self.env = self._read_env()
self.auth = self.set_auth()
self.zoom_level = zoom_level
After Change
self._auth_monkey_patch(self.auth)
from owslib.wms import WebMapService
self.wms = WebMapService(url=self.config.get(section="WMS", option="Url"),
version=self.config.get(section="WMS", option="Version"))
def set_auth(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: geometalab/OSMDeepOD
Commit Name: 1d70dc3a2c2793248da651f19f58e0dc42b98d86
Time: 2016-12-28
Author: samuel.kurath@gmail.com
File Name: src/data/orthofoto/wms/wms_api.py
Class Name: WmsApi
Method Name: __init__
Project Name: jazzband/django-debug-toolbar
Commit Name: 5b1fd5a96eca2522b173ea6266ecef026fab78c6
Time: 2013-10-21
Author: simon@simonmeers.com
File Name: debug_toolbar/utils/__init__.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 869e56edc7e3153b534f065e6a73d924ec28bec3
Time: 2020-05-26
Author: tmatsuo@google.com
File Name: appengine/flexible/scipy/main_test.py
Class Name:
Method Name: test_index