airbnb/caravel

View on GitHub
superset/examples/deck.py

Summary

Maintainability
C
1 day
Test Coverage

File deck.py has 510 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
Severity: Major
Found in superset/examples/deck.py - About 1 day to fix

    Function load_deck_dash has 55 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    def load_deck_dash() -> None:  # pylint: disable=too-many-statements
        print("Loading deck.gl dashboard")
        slices = []
        table = get_table_connector_registry()
        tbl = db.session.query(table).filter_by(table_name="long_lat").first()
    Severity: Major
    Found in superset/examples/deck.py - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status