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
#574 Avoid Recomputing Schedules #616
Commits on Mar 27, 2023
Commits on Mar 28, 2023
-
Fixing typos and changing hashing function.
Signed-off-by: victor <victor@seita.nl>
-
Updating hash function: now classes with the method make_hashable can…
… provide a tuple with the paramterers to be considered for the hash. Added some extra info to the docstrings. Signed-off-by: victor <victor@seita.nl>
-
The decorator allows creating new jobs in case that the previous call…
… has failed. Signed-off-by: victor <victor@seita.nl>
-
Importing annotations from __future__ for typing of functions arguments.
Signed-off-by: victor <victor@seita.nl>
-
Add more tests to handle ordering in dictionaries and in arrays.
Signed-off-by: victor <victor@seita.nl>
-
Add test to check if serialized dictionaries (json strings) order yie…
…lds different hashes. Signed-off-by: victor <victor@seita.nl>
-
Signed-off-by: victor <victor@seita.nl>
Commits on Mar 30, 2023
-
Adding force_new_job_creation into @redis_cache decorator to force th…
…e creation of a new job. Signed-off-by: victor <victor@seita.nl>
-
Simplyfying access to optional keyword argument.
Signed-off-by: victor <victor@seita.nl>
-
Commits on Mar 31, 2023
-
Fixed some typos. Simplified a test. Renamed @redis_cache -> @job_cache. Updated docstrings. Signed-off-by: victor <victor@seita.nl>
-
-
Merge remote-tracking branch 'origin/574-avoid-recomputing-schedules'…
… into 574-avoid-recomputing-schedules
-
Commits on Apr 4, 2023
-
Getting generic_asset attributes right
Signed-off-by: victor <victor@seita.nl>
-
Fixing comments grammar and adding type to the @job_cache decorator.
Signed-off-by: victor <victor@seita.nl>
-
Adding a better changelog entry for this PR.
Signed-off-by: victor <victor@seita.nl>
Commits on Apr 5, 2023
-
Implementation + Tests of the requeueing feature.
Signed-off-by: victor <victor@seita.nl>
Commits on Apr 6, 2023
-
Adding clarifications and argument description in docstrings.
Signed-off-by: victor <victor@seita.nl>
-
Commits on Apr 8, 2023
-
Clarify arguments in docstring
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Decorator docstring should list decorator arguments, rather than argu…
…ments of the function being decorated Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Refactor: simpler lines of code
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Make the @job_cache decorator agnostic to whichever queue is passed
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Clarification: "requeue" instead of "re-enqueue", because "enqueuing"…
… assigns a queue, and in case of "requeuing", a queue doesn't need to be reassigned; the job already knows which queue it should go in when it is requeued. Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add missing argument and explain how function arguments are used
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Hashes are not stored under queues
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Remove redundant queue (name) argument from @job_cache
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Apr 10, 2023
-
Adding TTL to job caching keys configured through the config variable…
… FLEXMEASURES_JOB_CACHE_TTL. Signed-off-by: victor <victor@seita.nl>
-
Adding function and queue names to the hash of the Job creation call.
Signed-off-by: victor <victor@seita.nl>
Commits on Apr 11, 2023
-
-
Adding FLEXMEASURES_JOB_CACHE_TTL into the config settings docs.
Signed-off-by: victor <victor@seita.nl>
Commits on Apr 12, 2023
-
Merge remote-tracking branch 'origin/main' into 574-avoid-recomputing…
…-schedules Signed-off-by: victor <victor@seita.nl>
Commits on Apr 13, 2023
-
-
PR: Avoid redundantly recomputing jobs that are triggered without a r…
…elevant state change. Squashed commit of the following: commit 79ef71a Author: victor <victor@seita.nl> Date: Thu Mar 30 15:38:55 2023 +0200 Fixing typos on @deprecated decorator and trigger warnings through loggere. Signed-off-by: victor <victor@seita.nl> commit 7faa6e6 Author: victor <victor@seita.nl> Date: Wed Mar 29 23:28:00 2023 +0200 Adding version of sunset of a function/method to the @deprecated decorator Signed-off-by: victor <victor@seita.nl> commit fe228d2 Author: victor <victor@seita.nl> Date: Mon Mar 27 11:57:32 2023 +0200 Getting location of the new funciton directly from the importable object. Signed-off-by: victor <victor@seita.nl> commit c1be8db Author: victor <victor@seita.nl> Date: Sun Mar 26 23:26:28 2023 +0200 Adding deprecated messages for the functions that were moved. Signed-off-by: victor <victor@seita.nl> commit ac4a232 Author: victor <victor@seita.nl> Date: Thu Mar 23 22:29:48 2023 +0100 Issue #599 Forgot to add `from __future__ import annotations`. Local testing worked as I'm uing Python v3.10. Signed-off-by: victor <victor@seita.nl> commit 3ff0571 Author: victor <victor@seita.nl> Date: Thu Mar 23 22:02:11 2023 +0100 Issue #599 Moving get_asset_group_queries from data/services to data/queries Signed-off-by: victor <victor@seita.nl> commit 53fc214 Author: victor <victor@seita.nl> Date: Thu Mar 23 20:30:31 2023 +0100 Issue #599 Moving DataSources fetching from query to services. Signed-off-by: victor <victor@seita.nl> Signed-off-by: victor <victor@seita.nl>
Commits on Apr 14, 2023
-
Revert "PR: Avoid redundantly recomputing jobs that are triggered wit…
…hout a relevant state change." This reverts commit a694443.