def entities_by_id(self) -> Dict[str, FetchedEntity]: entities = { k: fetch.coerce(v, FetchedEntity) for k, v in self.cached_entities_by_id.items() } for k, v in self.new_entities_by_id.items(): entities[k] = fetch.coerce(v, FetchedEntity) return entities
def cached_entities_by_id(self) -> Dict[str, FetchedEntity]: return fetch.coerce(self['cached_uss_queries'], FetchedEntity)
def new_entities_by_id(self) -> Dict[str, FetchedEntity]: return fetch.coerce(self['uss_queries'].copy(), FetchedEntity)
def dss_query(self) -> FetchedEntityReferences: return fetch.coerce(self['dss_query'], FetchedEntityReferences)
def uss_flight_details_queries(self) -> Dict[str, FetchedUSSFlightDetails]: return { k: fetch.coerce(v, FetchedUSSFlightDetails) for k, v in self.get('uss_flight_details_queries', {}).items() }
def dss_isa_query(self) -> FetchedISAs: return fetch.coerce(self['dss_isa_query'], FetchedISAs)