75 Commits (abcec5da9d501a1b54b73ac0fa3870df773fa63c)

Author SHA1 Message Date
Rapptz abcec5da9d [tasks] Use the local timezone when comparing for the start time 3 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 3 years ago
Rapptz 603681940f [tasks] Only correct for clock drift if an explicit time is given 3 years ago
Rapptz f2586e9fe7 [tasks] Handle imaginary or ambiguous times due to DST transitions 3 years ago
Rapptz a339e01047 [tasks] Compare using full datetime rather than sole time 3 years ago
Rapptz 64c6639f4b [tasks] Handle loop functions running multiple times due to clock drift 3 years ago
Rapptz 6a43d60acf [tasks] Refactor tasks to not store a time index state 3 years ago
Han Seung Min - 한승민 93af158b0c
Refactor loop code to allow usage of asyncio.run 3 years ago
Sebastian Law 04535e4e1d
[tasks] use None instead of MISSING for internal attributes 3 years ago
Lilly Rose Berner b308b54b89
[tasks] Fix change_interval raising when called during execution 3 years ago
Chrovo aa725f4a4a
[docs] Fix typo in tasks docs 3 years ago
Sebastian Law 5439a67056
[tasks] Fix sleep handling behaviour depending on interval type 3 years ago
Sebastian Law f1ac25809c
[tasks] Fix behavior when task overruns interval 3 years ago
Sebastian Law 19ad64adda
[tasks] Fix initial loop execution running prematurely 3 years ago
Rapptz 88b520b5ab Reformat code using black 3 years ago
Nadir Chowdhury a2a7b0f076
[tasks] Improve typing parity 4 years ago
Rapptz ea2d972666 Make global log variable in modules private 4 years ago
NiumXp 76c9e390f1
remove repeat 'to' in Task.restart doc 4 years ago
Josh 42a538edda
[tasks] Replace None check with MISSING check in task loop 4 years ago
Josh ef22178dee
[tasks] Type hint the tasks extension 4 years ago
Sebastian Law f5727ff0d0
[tasks] fix regular task loops 4 years ago
Sebastian Law 8bc489dba8
[tasks] Add support for explicit time parameter 4 years ago
Steve C ef9bb79e91
[tasks] Move the Loop's sleep to be before exit conditions 4 years ago
Rapptz 99fc950510 Use f-strings in more places that were missed. 4 years ago
Nadir Chowdhury 89456022cf
Add `__all__` to remaining modules 4 years ago
Rapptz 9d39b135f4 Modernize code to use f-strings 4 years ago
Sebastian Law f7a4bef4ff
[tasks] remove redundant condition in Loop.next_iteration 4 years ago
Nadir Chowdhury 63ec23bac2
Code optimisations and refactoring via Sourcery 4 years ago
Sebastian Law ceab8ff638
[tasks] make __call__ actually appear in the docs 4 years ago
Nihaal Sangha 69bdc3a184
Change copyright year to present 4 years ago
Rapptz 6515f33978 [tasks] Fix a typo in documentation 4 years ago
Rapptz 0216db0c0a [tasks] Add support for manually calling the wrapped coroutine 4 years ago
Rapptz ccdf4c4ad6 [tasks] Lazily fetch event loop if one isn't provided 5 years ago
Josh 6baacb2c23
[tasks] Don't update _next_iteration on retry 5 years ago
Dan Hess fc951873a1
[tasks] Remove HTTPException as an exception to silently continue for 5 years ago
Rapptz b8154e365f Rewrite gateway to use aiohttp instead of websockets 5 years ago
James 61216112d0 Add a licence and encoding declaration to missing files 5 years ago
Josh 6b5be39cd2
[tasks] Fix issue with default error handler in class context 5 years ago
Steve C 4b3a7fbe16 [tasks] Allow Loop.cancel in Loop.before_loop 5 years ago
Steve C 0fd5eca0d5 [tasks] Fix tasks decorators being discarded 5 years ago
Rapptz 540a88b762 [tasks] Replace stack-based implementation with a cleaner one. 5 years ago
Rapptz d5211fb327 [tasks] Create different Loop objects for different instances 5 years ago
Josh B 20854de080 Allow for optional custom error handler in tasks extension 5 years ago
Epic 18c52671a9 Remove extra to in tasks docs 5 years ago
James 6a30f2749f [tasks] Add is_running property to Loop 5 years ago
Josh B d0a1956be9 Improve usability of utils.sleep_until 5 years ago
Rapptz 02397306b2 Drop superfluous zero in version related changes in the documentation 5 years ago
Rapptz 3149f15165 [tasks] Use new sleep_until util instead of internal function 5 years ago
Josh B d7e925eb89 [tasks] Fix issue with next_iteration when task overruns time allotted 5 years ago
Josh B a0b3e61b51 [tasks] Add Loop.next_iteration property 5 years ago