|
11 | 11 |
|
12 | 12 | class CreateMeet:
|
13 | 13 | def __init__(self, attendees: Dict[str, str],
|
14 |
| - event_time: Dict[str, str], topic): |
| 14 | + event_time: Dict[str, str], Topic): |
15 | 15 | authe = self._auth()
|
16 | 16 | attendees_list = [{"email": e} for e in attendees.values()]
|
17 | 17 | self.event_states = self._create_event(
|
18 |
| - attendees_list, event_time, authe, topic) |
| 18 | + attendees_list, event_time, authe,Topic) |
19 | 19 |
|
20 | 20 | @staticmethod
|
21 | 21 | 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): |
23 | 23 | event = {"conferenceData": {"createRequest": {"requestId": f"{uuid4().hex}", "conferenceSolutionKey": {"type": "hangoutsMeet"}}},
|
24 | 24 | "attendees": attendees,
|
25 | 25 | "start": {"dateTime": event_time["start"], 'timeZone': 'Asia/Kolkata'},
|
26 | 26 | "end": {"dateTime": event_time["end"], 'timeZone': 'Asia/Kolkata'},
|
27 |
| - "summary": Topic, |
| 27 | + "summary": TopiC, |
28 | 28 | "reminders": {"useDefault": True}
|
29 | 29 | }
|
30 | 30 | event = authe.events().insert(calendarId="primary", sendNotifications=True,
|
|
0 commit comments