Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Commit
•
a94835d
1
Parent(s):
0a00112
Update app.py
Browse files
app.py
CHANGED
@@ -27,17 +27,12 @@ from config import sqmPerEmployeeColumnName
|
|
27 |
from config import thresholdsColumnName
|
28 |
from config import maxPointsColumnName
|
29 |
from config import domainColumnName
|
30 |
-
|
|
|
31 |
|
32 |
landuse_attributes = fetch_all_database_pages(notion, landuseDatabaseId)
|
33 |
livability_attributes = fetch_all_database_pages(notion, subdomainAttributesDatabaseId)
|
34 |
-
|
35 |
-
|
36 |
landuseMapperDict = fetchDomainMapper (landuse_attributes)
|
37 |
-
# fetch the dictionary with landuse - domain pairs
|
38 |
-
|
39 |
-
# fetch the dictionary with subdomain attribute data
|
40 |
-
|
41 |
attributeMapperDict = fetchSubdomainMapper (livability_attributes)
|
42 |
|
43 |
|
|
|
27 |
from config import thresholdsColumnName
|
28 |
from config import maxPointsColumnName
|
29 |
from config import domainColumnName
|
30 |
+
from imports_utils import fetchDomainMapper
|
31 |
+
from imports_utils import fetchSubdomainMapper
|
32 |
|
33 |
landuse_attributes = fetch_all_database_pages(notion, landuseDatabaseId)
|
34 |
livability_attributes = fetch_all_database_pages(notion, subdomainAttributesDatabaseId)
|
|
|
|
|
35 |
landuseMapperDict = fetchDomainMapper (landuse_attributes)
|
|
|
|
|
|
|
|
|
36 |
attributeMapperDict = fetchSubdomainMapper (livability_attributes)
|
37 |
|
38 |
|