New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ms-python-client

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-python-client - pypi Package Compare versions

Comparing version
2.0.3
to
2.0.4
+18
-5
ms_python_client/components/events/cern_events_component.py

@@ -43,2 +43,3 @@ import logging

parameters (dict): Optional parameters for the request
extra_headers (dict): Optional headers for the request

@@ -59,3 +60,5 @@ Returns:

Args:
user_id (str): The user id
zoom_id (str): The event id
extra_headers (dict): Optional headers for the request

@@ -68,5 +71,5 @@ Returns:

"$filter": f"singleValueExtendedProperties/Any(ep: ep/id eq \
'{ZOOM_ID_EXTENDED_PROPERTY_ID}' and ep/value eq '{zoom_id}')",
'{ZOOM_ID_EXTENDED_PROPERTY_ID}' and ep/value eq '{zoom_id}')",
"$expand": f"singleValueExtendedProperties($filter=id eq \
'{ZOOM_ID_EXTENDED_PROPERTY_ID}')",
'{ZOOM_ID_EXTENDED_PROPERTY_ID}')",
}

@@ -97,3 +100,5 @@ response = self.events_component.list_events(user_id, parameters, extra_headers)

Args:
user_id (str): The user id
event_id (str): The event id
extra_headers (dict): Optional headers for the request

@@ -104,4 +109,3 @@ Returns:

parameters = {
"$expand": f"singleValueExtendedProperties($filter=id eq \
'{ZOOM_ID_EXTENDED_PROPERTY_ID}')",
"$expand": f"singleValueExtendedProperties($filter=id eq '{ZOOM_ID_EXTENDED_PROPERTY_ID}')",
}

@@ -112,4 +116,8 @@ response = self.events_component.get_event(

return response["singleValueExtendedProperties"][0]["value"]
for property in response["singleValueExtendedProperties"]:
if property["id"] == ZOOM_ID_EXTENDED_PROPERTY_ID:
return property["value"]
raise NotFoundError(f"Zoom id not found for event {event_id}")
def create_event(

@@ -126,3 +134,5 @@ self,

user_id (str): The user id
zoom_id (str): The zoom id of the event
event (EventParameters): The event data
extra_headers (dict): Optional headers for the request

@@ -146,3 +156,5 @@ Returns:

user_id (str): The user id
zoom_id (str): The zoom id of the event
event (EventParameters): The event parameters
extra_headers (dict): Optional headers for the request

@@ -169,2 +181,3 @@ Returns:

zoom_id (str): The event id
extra_headers (dict): Optional headers for the request

@@ -171,0 +184,0 @@ Returns:

Metadata-Version: 2.1
Name: ms-python-client
Version: 2.0.3
Version: 2.0.4
Summary: This package is used to interact with the microsoft graph API

@@ -180,2 +180,3 @@ License: MIT

6. get the zoom id of an event
7. get current event of a user

@@ -182,0 +183,0 @@ You will find useful the `EventParameters` and `PartialEventParameters` classes, which will help you to create the events.

[tool.poetry]
name = "ms-python-client"
version = "2.0.3"
version = "2.0.4"
exclude = ["tests*", "example*", ".github*", ".git*", ".vscode*"]

@@ -5,0 +5,0 @@ description = "This package is used to interact with the microsoft graph API"

@@ -161,2 +161,3 @@ # Microsoft Python client

6. get the zoom id of an event
7. get current event of a user

@@ -163,0 +164,0 @@ You will find useful the `EventParameters` and `PartialEventParameters` classes, which will help you to create the events.