Showing 2,441 of 6,157 total issues
Avoid too many return
statements within this function. Open
Open
return self.render_template(
Avoid too many return
statements within this function. Open
Open
return f"""'{dttm.strftime("%Y-%m-%d %H:%M:%S.%f")}'"""
Avoid too many return
statements within this function. Open
Open
return self.save_or_overwrite_slice(
Avoid too many return
statements within this function. Open
Open
return self.response_422(message=str(ex))
Avoid too many return
statements within this function. Open
Open
return json_error_response(
Avoid too many return
statements within this function. Open
Open
return verbose_map.get(metric, metric)
Avoid too many return
statements within this function. Open
Open
return lambda: "".join(random.choices(string.ascii_letters, k=length))
Avoid too many return
statements within this function. Open
Open
return None
Avoid too many return
statements within this function. Open
Open
return executor_type, owners[0].username
Avoid too many return
statements within this function. Open
Open
return lambda: MINIMUM_DATE + timedelta(days=random.randrange(days_range))
Avoid too many return
statements within this function. Open
Open
return lambda: decimal.Decimal(datetime.now().timestamp() * 1000)
Avoid too many return
statements within this function. Open
Open
return uuid4
Avoid too many return
statements within this function. Open
Open
return format_timedelta(obj)
Avoid too many return
statements within this function. Open
Open
return lambda: random.uniform(-sys.maxsize, sys.maxsize)
Avoid too many return
statements within this function. Open
Open
return lambda: b"UNKNOWN TYPE"
Avoid too many return
statements within this function. Open
Open
return executor_type, owners[0].username
Avoid too many return
statements within this function. Open
Open
return lambda: os.urandom(length)
Avoid too many return
statements within this function. Open
Open
return None
Avoid too many return
statements within this function. Open
Open
return executor_type, user.username
Avoid too many return
statements within this function. Open
Open
return lambda: str(uuid4())