Skip to content

TypeError: get_config() takes at least 2 arguments (1 given) #358

@jezdez

Description

@jezdez

https://sentry.prod.mozaws.net/operations/data-stmo-prod/issues/3477358/

TypeError: get_config() takes at least 2 arguments (1 given)
(5 additional frame(s) were not displayed)
...
  File "flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "dockerflow/flask/app.py", line 304, in _heartbeat_view
    detail = self._heartbeat_check_detail(check)
  File "dockerflow/flask/app.py", line 282, in _heartbeat_check_detail
    errors = list(filter(lambda e: e.id not in self.silenced_checks, check()))
  File "dockerflow/flask/app.py", line 388, in decorated_function
    return func(*args, **kwargs)
  File "dockerflow/flask/checks/__init__.py", line 76, in check_migrations_applied
    config = migrate.get_config()

TypeError: get_config() takes at least 2 arguments (1 given)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions