Module ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias Import alias ImportFrom alias Import alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If NameLoad body Assign NameStore BinOpAdd NameLoad Call NameLoad NameLoad Return SubscriptLoad Call AttributeLoad NameLoad attr Slice Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str ImportFrom alias identifier For NameStore NameLoad body Assign SubscriptStore Call NameLoad Index AttributeLoad NameLoad attr NameLoad decorator_list
N/A __future__ absolute_import random random datetime datetime timedelta N/A dateutil N/A time N/A hive N/A uuid ds_add N/A N/A ds days N/A N/A N/A 
    Add or subtract days from a YYYY-MM-DD

    :param ds: anchor date in ``YYYY-MM-DD`` format to add to
    :type ds: str
    :param days: number of days to add to the ds, you can use negative values
    :type days: int

    >>> ds_add('2015-01-01', 5)
    '2015-01-06'
    >>> ds_add('2015-01-06', -5)
    '2015-01-01'
     N/A ds N/A N/A datetime strptime ds %Y-%m-%d N/A days N/A N/A ds N/A ds N/A timedelta days N/A N/A N/A N/A ds isoformat N/A 10 N/A ds_format N/A N/A ds input_format output_format N/A N/A N/A 
    Takes an input string and outputs another string
    as specified in the output format

    :param ds: input string which contains a date
    :type ds: str
    :param input_format: input string format. E.g. %Y-%m-%d
    :type input_format: str
    :param output_format: output string format  E.g. %Y-%m-%d
    :type output_format: str

    >>> ds_format('2015-01-01', "%Y-%m-%d", "%m-%d-%y")
    '01-01-15'
    >>> ds_format('1/5/2015', "%m/%d/%Y",  "%Y-%m-%d")
    '2015-01-05'
     N/A N/A N/A N/A N/A datetime strptime ds input_format strftime output_format N/A integrate_plugins N/A N/A N/A N/A N/A Integrate plugins to the context airflow.plugins_manager macros _macros N/A _macro _macros N/A N/A N/A N/A globals N/A N/A _macro __name__ _macro N/A