87 Commits (master)

Author SHA1 Message Date
Michael H f2aa0b833c
[tasks] Fix race condition with set_result 3 months ago
Thanos 9b9c93ad49
[tasks] Fix typing for tasks.SleepHandle.future set calls 1 year ago
Rapptz 646ab85bb6 [tasks] Fix missing name parameter in loop copy 2 years ago
Rapptz 03140c0163 [tasks] Add name parameter to give the internal task a name 2 years ago
Rapptz 3ff88db768 Update pyright to 1.1.289 2 years ago
rdrescher909 01915fbc09
[tasks] Clarify Loop.stop interaction with before_loop 3 years ago
Omkaar c30a2f3ca0
Refactor certain f-strings and literals 3 years ago
Ionite 6981eb69c4
Normalize type formatting in TypeError 3 years ago
Bryan Forbes d707019348
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores 3 years ago
Rapptz 903e2e64e9 [tasks] Only update the time interval if the body has run once 3 years ago
Rapptz 53685b9b86 Change stderr prints to use the logging module instead 3 years ago
Lilly Rose Berner 15a6a04622
[tasks] Fix Task.failed() only being True while error handler runs 3 years ago
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