Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
unicode(object='') -> unicode object
unicode(string[, encoding[, errors]]) -> unicode object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding.
errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.

src/r/a/rapidsms-healthcare-0.1.0/healthcare/api.py   rapidsms-healthcare(Download)
        'lt': comparisons.LT,
        'lte': comparisons.LTE,
        'gt': comparisons.GT,
        'gte': comparisons.GTE,
    }

src/r/a/rapidsms-healthcare-0.1.0/healthcare/tests/test_api.py   rapidsms-healthcare(Download)
                ({'birth_date__lt': today}, [('birth_date', comparisons.LT, today)]),
                ({'birth_date__lte': today}, [('birth_date', comparisons.LTE, today)]),
                ({'birth_date__gt': today}, [('birth_date', comparisons.GT, today)]),
                ({'birth_date__gte': today}, [('birth_date', comparisons.GTE, today)]),
            )
                ({'created_date__lt': today}, [('created_date', comparisons.LT, today)]),
                ({'created_date__lte': today}, [('created_date', comparisons.LTE, today)]),
                ({'created_date__gt': today}, [('created_date', comparisons.GT, today)]),
                ({'created_date__gte': today}, [('created_date', comparisons.GTE, today)]),
            )

src/r/a/rapidsms-healthcare-0.1.0/healthcare/tests/backends/base.py   rapidsms-healthcare(Download)
            (comparisons.LT, today, [other_patient]),
            (comparisons.LTE, today, [patient, other_patient]),
            (comparisons.GT, today, []),
            (comparisons.GTE, today, [patient]),
            (comparisons.EQUAL, last_week, [other_patient]),