Spaces:
Sleeping
Sleeping
Update API.py
Browse files
API.py
CHANGED
|
@@ -26,6 +26,7 @@ prjnamesURL= 'https://docs.google.com/spreadsheets/d/1I4P7wiCXTAwnld0YQfUJC8bPtu
|
|
| 26 |
prjpartsURL= 'https://docs.google.com/spreadsheets/d/1I4P7wiCXTAwnld0YQfUJC8bPtuiETna1HGWVuHbuDBk/edit#gid=2102042200'
|
| 27 |
prjsectionsURL= 'https://docs.google.com/spreadsheets/d/1I4P7wiCXTAwnld0YQfUJC8bPtuiETna1HGWVuHbuDBk/edit#gid=1708565170'
|
| 28 |
|
|
|
|
| 29 |
dfNames=pd.DataFrame()
|
| 30 |
dfParts=pd.DataFrame()
|
| 31 |
que= queue.Queue()
|
|
@@ -122,7 +123,7 @@ def GenerateTables():
|
|
| 122 |
# Set Tables to Sheets
|
| 123 |
def AppendtablestoSheets():
|
| 124 |
gc=AuthorizeGoogleSheets()[2]
|
| 125 |
-
ws = gc.open_by_key('
|
| 126 |
table1,table2,table3= GenerateTables()
|
| 127 |
projectNamesSheet=ws.worksheet_by_title('Project Names')
|
| 128 |
projectPartsSheet=ws.worksheet_by_title('Project Parts')
|
|
|
|
| 26 |
prjpartsURL= 'https://docs.google.com/spreadsheets/d/1I4P7wiCXTAwnld0YQfUJC8bPtuiETna1HGWVuHbuDBk/edit#gid=2102042200'
|
| 27 |
prjsectionsURL= 'https://docs.google.com/spreadsheets/d/1I4P7wiCXTAwnld0YQfUJC8bPtuiETna1HGWVuHbuDBk/edit#gid=1708565170'
|
| 28 |
|
| 29 |
+
|
| 30 |
dfNames=pd.DataFrame()
|
| 31 |
dfParts=pd.DataFrame()
|
| 32 |
que= queue.Queue()
|
|
|
|
| 123 |
# Set Tables to Sheets
|
| 124 |
def AppendtablestoSheets():
|
| 125 |
gc=AuthorizeGoogleSheets()[2]
|
| 126 |
+
ws = gc.open_by_key('1nsIgi9o9VSBKQlNxbxihPzG_N7s4um0eNVfgL4gaGPc')
|
| 127 |
table1,table2,table3= GenerateTables()
|
| 128 |
projectNamesSheet=ws.worksheet_by_title('Project Names')
|
| 129 |
projectPartsSheet=ws.worksheet_by_title('Project Parts')
|