(gran_period, period_arg=None)
Returns the generated period or overridden period depending upon the period_arg
      gran_period : int
        the period generated from the granularity
      period_arg : the period override value that is either None or an int
        the period to override the period generated from granularity
Returns the generated period or overridden period depending upon the period_arg
      gran_period : int
        the period generated from the granularity
      period_arg : the period override value that is either None or an int
        the period to override the period generated from granularity
Returns the generated period or overridden period depending upon the period_arg gran_period : int the period generated from the granularity period_arg : the period override value that is either None or an int the period to override the period generated from granularity
def _get_period(gran_period, period_arg=None):
    """
    Returns the generated period or overridden period depending upon the period_arg
      gran_period : int
        the period generated from the granularity
      period_arg : the period override value that is either None or an int
        the period to override the period generated from granularity
    """
    if _override_period(period_arg):
        return period_arg
    else:
        return gran_period
def _get_period ( gran_period , period_arg = None ) : if _override_period ( period_arg ) : return period_arg else : return gran_period