Sirivennela commited on
Commit
bb79117
·
verified ·
1 Parent(s): a074315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -12
app.py CHANGED
@@ -35,18 +35,23 @@ if sf:
35
  query = """
36
  # Query Pole data
37
  query = """
38
- SELECT
39
- Power_Required__c,
40
- Power_Sufficient__c,
41
- RFID_Tag__c,
42
- Site__c,
43
- Solar_Generation__c,
44
- Wind_Generation__c,
45
- Alert_Level__c,
46
- Camera_Status__c,
47
- Health_Score__c,
48
- Location_Latitude__c,
49
- Location_Longitude__c
 
 
 
 
 
50
  FROM Pole__c
51
  LIMIT 1000
52
  """
 
35
  query = """
36
  # Query Pole data
37
  query = """
38
+ SELECT Id,
39
+ Name,
40
+ Power_Required__c,
41
+ Power_Sufficient__c,
42
+ RFID_Tag__c,
43
+ Site__c,
44
+ Solar_Generation__c,
45
+ Wind_Generation__c,
46
+ Alert_Level__c,
47
+ Camera_Status__c,
48
+ Health_Score__c,
49
+ Location_Latitude__c,
50
+ Location_Longitude__c
51
+ FROM Pole__c
52
+ LIMIT 1000
53
+ """
54
+
55
  FROM Pole__c
56
  LIMIT 1000
57
  """