|
@@ -64,7 +64,7 @@ def get_sectors() -> tuple[typing.Mapping[str, typing.Collection[str]], typing.M
|
|
|
return sector_ids, sector_systems
|
|
return sector_ids, sector_systems
|
|
|
|
|
|
|
|
def get_bases(planet: str) -> typing.Sequence[Site]:
|
|
def get_bases(planet: str) -> typing.Sequence[Site]:
|
|
|
- return cache.get('https://rest.fnar.net/planet/sites/' + planet)
|
|
|
|
|
|
|
+ return cache.get('https://rest.fnar.net/planet/sites/' + planet, expiry=cache.ONE_DAY)
|
|
|
|
|
|
|
|
class System(typing.TypedDict):
|
|
class System(typing.TypedDict):
|
|
|
SystemId: str
|
|
SystemId: str
|