appier 1.34.0__py2.py3-none-any.whl → 1.34.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- appier/base.py +1 -1
- appier/scheduler.py +12 -1
- {appier-1.34.0.dist-info → appier-1.34.1.dist-info}/METADATA +1 -1
- {appier-1.34.0.dist-info → appier-1.34.1.dist-info}/RECORD +7 -7
- {appier-1.34.0.dist-info → appier-1.34.1.dist-info}/LICENSE +0 -0
- {appier-1.34.0.dist-info → appier-1.34.1.dist-info}/WHEEL +0 -0
- {appier-1.34.0.dist-info → appier-1.34.1.dist-info}/top_level.txt +0 -0
appier/base.py
CHANGED
|
@@ -94,7 +94,7 @@ NAME = "appier"
|
|
|
94
94
|
""" The name to be used to describe the framework while working
|
|
95
95
|
on its own environment, this is just a descriptive value """
|
|
96
96
|
|
|
97
|
-
VERSION = "1.34.
|
|
97
|
+
VERSION = "1.34.1"
|
|
98
98
|
""" The version of the framework that is currently installed
|
|
99
99
|
this value may be used for debugging/diagnostic purposes """
|
|
100
100
|
|
appier/scheduler.py
CHANGED
|
@@ -30,7 +30,6 @@ __license__ = "Apache License, Version 2.0"
|
|
|
30
30
|
|
|
31
31
|
import time
|
|
32
32
|
import heapq
|
|
33
|
-
import calendar
|
|
34
33
|
import datetime
|
|
35
34
|
import logging
|
|
36
35
|
import threading
|
|
@@ -187,6 +186,12 @@ class SchedulerTask(object):
|
|
|
187
186
|
self.date = SchedulerDate.from_cron(cron)
|
|
188
187
|
self._enabled = True
|
|
189
188
|
|
|
189
|
+
def __repr__(self):
|
|
190
|
+
return "<SchedulerTask: %s, %s>" % (self.job, self.date)
|
|
191
|
+
|
|
192
|
+
def __str__(self):
|
|
193
|
+
return "<SchedulerTask: %s, %s>" % (self.job, self.date)
|
|
194
|
+
|
|
190
195
|
def __eq__(self, other):
|
|
191
196
|
if isinstance(other, self.__class__):
|
|
192
197
|
return True
|
|
@@ -223,6 +228,12 @@ class SchedulerDate(object):
|
|
|
223
228
|
self.months = self._parse_field(months, 1, 12)
|
|
224
229
|
self.days_of_week = self._parse_field(days_of_week, 0, 6)
|
|
225
230
|
|
|
231
|
+
def __repr__(self):
|
|
232
|
+
return "<SchedulerDate: %s>" % self.next_run()
|
|
233
|
+
|
|
234
|
+
def __str__(self):
|
|
235
|
+
return "<SchedulerDate: %s>" % self.next_run()
|
|
236
|
+
|
|
226
237
|
@classmethod
|
|
227
238
|
def from_cron(cls, cron):
|
|
228
239
|
if isinstance(cron, cls):
|
|
@@ -6,7 +6,7 @@ appier/async_neo.py,sha256=gQpyT1-nZE6Uynh5FEmFl5kfXkxChdUsgiKgwlaNw5E,5446
|
|
|
6
6
|
appier/async_old.py,sha256=m3BFqHVPCRuIZ9L2sGYhCQPEwuCNKBO2y7SKM0dbtj8,9194
|
|
7
7
|
appier/asynchronous.py,sha256=a1LQa3wbGMaXELhF7W71dRr1klPOj6x-ST9EInvPhtU,1757
|
|
8
8
|
appier/asynchronous.pyi,sha256=5CpLkpKcUq09woMOVYwpl24Pli0A8Xu6nXoT20xDQ-o,104
|
|
9
|
-
appier/base.py,sha256=
|
|
9
|
+
appier/base.py,sha256=zVLPCB134n1QkVGriSLnkn-VXvGobhtT9aATVxxoh6A,270121
|
|
10
10
|
appier/base.pyi,sha256=Vx8idYnMvP3nLwGdd2LJKGc0RFpT6iav77YMcBpcr4o,2515
|
|
11
11
|
appier/bus.py,sha256=AMC2UXlaf6rzhzlIyTHkzbfb6tdfPBiOii4lpl9AAwg,7670
|
|
12
12
|
appier/bus.pyi,sha256=W6_MIBpvDq468wfT5XM2WpPuR3O49QiZMOSCdMsJWos,182
|
|
@@ -48,7 +48,7 @@ appier/preferences.pyi,sha256=uYVgvDq2f4KWlLRY-C8bi6xry_utFKDeToGHH5aptxc,197
|
|
|
48
48
|
appier/queuing.py,sha256=6AJlRVdd5JunzChu8Q1U-9Biq4vQUHTuJFC8qs2wzCs,8097
|
|
49
49
|
appier/redisdb.py,sha256=5inJMQqHVkfsGoqoRGYzewlgooDZD2uwOtlPXHX17V0,3504
|
|
50
50
|
appier/request.py,sha256=vNiRdBZXgboMx_d3xkGHlJf3f7ifejgKyhYZ4Pr9GlE,31450
|
|
51
|
-
appier/scheduler.py,sha256=
|
|
51
|
+
appier/scheduler.py,sha256=8PcdJQqgbUOrkRfy-2-3N987lGpIUPO9fNYm9QtSjE0,9741
|
|
52
52
|
appier/scheduler.pyi,sha256=JHqH-DSKFZL1uXJTpWFTVHykRT8QRGrVdYCi0nyhjrQ,2132
|
|
53
53
|
appier/serialize.py,sha256=LiR1ZbAiC_I3lhlQToPK_u2DC2r04Gl9OEQTayW4Rlg,6669
|
|
54
54
|
appier/session.py,sha256=6rcwFdsu--7gFLr6mJJh3EFSZ_A3Oe8u7olAvTw2sUk,20380
|
|
@@ -92,8 +92,8 @@ appier/test/structures.py,sha256=MRjUFRlnJi-i7YGWW5y792JbJwicNvOIzVAS220tgeQ,836
|
|
|
92
92
|
appier/test/typesf.py,sha256=KHumQFzx7wPZSCb8_mpIwobhIy2Fh_0XYviwPjXMbKI,9680
|
|
93
93
|
appier/test/util.py,sha256=SSHuBAZQ0TcXLDYI0xUvmwId5nndDZb88s_5Y-Hqibw,46884
|
|
94
94
|
appier/test/validation.py,sha256=riOCsGKob1P5jnbcB5qGZ45ApimNAVS0byg9v_uUdrk,4952
|
|
95
|
-
appier-1.34.
|
|
96
|
-
appier-1.34.
|
|
97
|
-
appier-1.34.
|
|
98
|
-
appier-1.34.
|
|
99
|
-
appier-1.34.
|
|
95
|
+
appier-1.34.1.dist-info/LICENSE,sha256=Pd-b5cKP4n2tFDpdx27qJSIq0d1ok0oEcGTlbtL6QMU,11560
|
|
96
|
+
appier-1.34.1.dist-info/METADATA,sha256=dRqRvcjfXhCFhtijkY6V7HqZ_JcrIr5CKUjhYm2ZdxQ,1920
|
|
97
|
+
appier-1.34.1.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
|
|
98
|
+
appier-1.34.1.dist-info/top_level.txt,sha256=Z2e_Y1ya06a554WwQZkfNRiaaQxqsdaPtBzrck384Lo,7
|
|
99
|
+
appier-1.34.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|