MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / get_all

Method get_all

pogom/models.py:67–74  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

65
66 @classmethod
67 def get_all(cls):
68 results = [m for m in cls.select().dicts()]
69 if args.china:
70 for result in results:
71 result['latitude'], result['longitude'] = \
72 transform_from_wgs_to_gcj(
73 result['latitude'], result['longitude'])
74 return results
75
76
77class Pokemon(BaseModel):

Callers 2

raw_dataMethod · 0.80
post_statusMethod · 0.80

Calls 1

Tested by

no test coverage detected