IN-CORE / pyincore

pyIncore is a component of IN-CORE. It is a python package consisting of two primary components: 1) a set of service classes to interact with the IN-CORE web services, and 2) IN-CORE analyses . The pyIncore allows users to apply various hazards to infrastructure in selected areas, propagating the effect of physical infrastructure damage and loss of functionality to social and economic impacts.
Mozilla Public License 2.0
25 stars 7 forks source link

Store hazard allowed type in cache and mechanism to update #459

Open longshuicy opened 11 months ago

longshuicy commented 11 months ago

Consider storing hazard allowed types in a JSON file that gets copied to .incore/cache_data during service initialization. If the service is initialized with a real client, add an endpoint call to update the file dynamically for a means of "updating" local allowed demand types.