Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New function to clear the cache #437

Merged
merged 3 commits into from
Jan 29, 2023
Merged

New function to clear the cache #437

merged 3 commits into from
Jan 29, 2023

Conversation

samuelduchesne
Copy link
Owner

from archetypal import clear_cache

clear_cache()

- deletes the settings.cache_folder (files and sub-directories)
- Import from archetypal directly
@samuelduchesne samuelduchesne added the enhancement Includes code that add's enhancements to existing archetypal functionalities label Jan 28, 2023
@samuelduchesne samuelduchesne merged commit 0b8630b into main Jan 29, 2023
@samuelduchesne samuelduchesne deleted the feature/clear_cache branch January 29, 2023 01:28
szvsw added a commit that referenced this pull request Feb 3, 2023
* The ExpandObjects threaded executor now works even if the epw attribute is not set on an IDF model (#415)

* enables use of expandobjects even if epw is not set

* pint~=0.19

* pint==0.19

* Updates eppy and geomeppy (#418)

* Updates eppy and geomeppy

* Added typing-extensions

* Updated the CI to use actions/setup-python@v4 pip caching (#423)

* Update python-package.yml

* Update setup.cfg

* Added reporting_frequency parameter to IDF class (#422)

* Added reporting_frequency parameter to IDF class

* Implements frequency in Outputs

* Fix flake8

* Fix tests

* Quick fix for sklearn dependency

* Fixes an issue where passing a new attributes to IDF.simulate would fail to create a new cache (#436)

* Fixes an issue where passing a new attributes to IDF.simulate would fail to create a new cache

* reformat

* New function to clear the cache (#437)

* Fixes an issue where passing a new attributes to IDF.simulate would fail to create a new cache

* reformat

* Added clear_cache method

- deletes the settings.cache_folder (files and sub-directories)
- Import from archetypal directly

* Settings in the archetypal.settings module can now be set using environment variables (#438)

* Fixes an issue where passing a new attributes to IDF.simulate would fail to create a new cache

* reformat

* Added clear_cache method

- deletes the settings.cache_folder (files and sub-directories)
- Import from archetypal directly

* Refactored the settings module as a pydantic BaseSettings class

Enables easily setting environment variables

* docs beginning

* format

* Fixes

* rename use_cache to cache_responses

* Updated docs

* Issue with FullService Restaurant file

* fix import

* Update requirements.txt (#441)

* Fixes an issue preventing the EnergyPlus installation folder to be discovered when `as_version` is None (#446)

* Fixes an issue preventing the EnergyPlus installation it be discovered when `as_version` is None

* add missing import

* expand_objects path fix for docker implementation. (#442)

* expand_objects path fix for docker implementation.

* Fixes an issue preventing the EnergyPlus installation it be discovered when `as_version` is None

* add missing import

* Removed conflicting geomeppy requirement.

---------

Co-authored-by: Samuel Letellier-Duchesne <samuel.letellier-duchesne@polymtl.ca>
Co-authored-by: Samuel Letellier-Duchesne <samuelduchesne@me.com>

---------

Co-authored-by: Samuel Letellier-Duchesne <samueld@mit.edu>
Co-authored-by: Samuel Letellier-Duchesne <samuel.letellier-duchesne@polymtl.ca>
Co-authored-by: Samuel Letellier-Duchesne <samuelduchesne@me.com>
Co-authored-by: zlehong <52012036+zlehong@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Includes code that add's enhancements to existing archetypal functionalities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant