Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/r/e/RedKindle-HEAD/rq2/job.py   RedKindle(Download)
from .connections import resolve_connection
from .exceptions import UnpickleError, NoSuchJobError
from .utils import import_attribute, utcnow, utcformat, utcparse
from rq.compat import text_type, decode_redis_hash, as_text
 
        def to_date(date_str):
            if date_str is None:
                return
            else:
                return utcparse(as_text(date_str))

src/r/q/rq-0.4.2/rq/job.py   rq(Download)
from .connections import resolve_connection
from .exceptions import UnpickleError, NoSuchJobError
from .utils import import_attribute, utcnow, utcformat, utcparse
from rq.compat import text_type, decode_redis_hash, as_text
 
        def to_date(date_str):
            if date_str is None:
                return
            else:
                return utcparse(as_text(date_str))

src/r/q/rq-HEAD/rq/job.py   rq(Download)
from .exceptions import NoSuchJobError, UnpickleError
from .local import LocalStack
from .utils import import_attribute, utcformat, utcnow, utcparse
 
try:
        def to_date(date_str):
            if date_str is None:
                return
            else:
                return utcparse(as_text(date_str))