ipumspy.api.IpumsApiClient.extract_is_expired#
- IpumsApiClient.extract_is_expired(extract, collection=None)[source]#
Returns
Trueif the IPUMS extract’s files have been expired from the cache.- Parameters:
extract (
Union[BaseExtract,int]) – An extract object. This extract must have been submitted. Alternatively, can be an extract id. If an extract id is provided, you must supply the collection name.collection (
Optional[str]) – The name of the collection to pull the extract from. If None, thenextractmust be aBaseExtract.
- Return type: