Skip to content

Commit 51708ba

Browse files
Update script.py
Made changes to suppress 'Re-defined variable from outer scope' produced by DeepSource.
1 parent f194140 commit 51708ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Google-Meet-Scheduler/script.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111

1212
class CreateMeet:
1313
def __init__(self, attendees: Dict[str, str],
14-
event_time: Dict[str, str], topic):
14+
event_time: Dict[str, str], Topic):
1515
authe = self._auth()
1616
attendees_list = [{"email": e} for e in attendees.values()]
1717
self.event_states = self._create_event(
18-
attendees_list, event_time, authe, topic)
18+
attendees_list, event_time, authe,Topic)
1919

2020
@staticmethod
2121
def _create_event(
22-
attendees: List[Dict[str, str]], event_time, authe: build, Topic):
22+
attendees: List[Dict[str, str]], event_time, authe: build, TopiC):
2323
event = {"conferenceData": {"createRequest": {"requestId": f"{uuid4().hex}", "conferenceSolutionKey": {"type": "hangoutsMeet"}}},
2424
"attendees": attendees,
2525
"start": {"dateTime": event_time["start"], 'timeZone': 'Asia/Kolkata'},
2626
"end": {"dateTime": event_time["end"], 'timeZone': 'Asia/Kolkata'},
27-
"summary": Topic,
27+
"summary": TopiC,
2828
"reminders": {"useDefault": True}
2929
}
3030
event = authe.events().insert(calendarId="primary", sendNotifications=True,

0 commit comments

Comments
 (0)