MCPcopy Index your code
hub / github.com/dronekit/dronekit-python / get_options

Method get_options

examples/drone_delivery/drone_delivery.py:162–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160 self.environment = Environment(loader=FileSystemLoader(local_path + '/html'))
161
162 def get_options(self):
163 return {'width': 670,
164 'height': 470,
165 'zoom': 13,
166 'format': 'png',
167 'access_token': 'pk.eyJ1Ijoia2V2aW4zZHIiLCJhIjoiY2lrOGoxN2s2MDJzYnR6a3drbTYwdGxmMiJ9.bv5u7QgmcJd6dZfLDGoykw',
168 'mapid': 'kevin3dr.n56ffjoo',
169 'home_coords': self.home_coords,
170 'menu': [{'name': 'Home', 'location': '/'},
171 {'name': 'Track', 'location': '/track'},
172 {'name': 'Command', 'location': '/command'}],
173 'current_url': '/',
174 'json': ''
175 }
176
177 def index(self):
178 self.options = self.get_options()

Callers 4

__init__Method · 0.95
indexMethod · 0.95
trackMethod · 0.95
commandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected