Fix syntax error - remove duplicate code at end of migration script
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 55s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 55s
This commit is contained in:
@@ -27,17 +27,17 @@ import requests
|
||||
|
||||
from backend.config import settings
|
||||
from backend.models import (
|
||||
RESULT_FIELD_MAPPING,
|
||||
SCHOOL_FIELD_MAPPING,
|
||||
School,
|
||||
SchoolResult,
|
||||
SCHOOL_FIELD_MAPPING,
|
||||
RESULT_FIELD_MAPPING,
|
||||
)
|
||||
from backend.schemas import (
|
||||
COLUMN_MAPPINGS,
|
||||
LA_CODE_TO_NAME,
|
||||
NULL_VALUES,
|
||||
NUMERIC_COLUMNS,
|
||||
SCHOOL_TYPE_MAP,
|
||||
NULL_VALUES,
|
||||
LA_CODE_TO_NAME,
|
||||
)
|
||||
|
||||
|
||||
@@ -438,10 +438,4 @@ def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
migrate_data(df, geocode=args.geocode)
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
|
||||
Reference in New Issue
Block a user