location.py 271 B

123456789101112
  1. from type_ import *
  2. class HGSLocation:
  3. def __init__(self, location: location_t):
  4. self.loc: location_t = location
  5. def get_location(self) -> location_t:
  6. return self.loc
  7. hgs_location_t = NewType("hgs_location_t", Union[HGSLocation, location_t])