Open
Description
I am trying to add a new subscription with the function in this file: master/office365/subscriptions/collection.py
It misses the parameter include_resource_data. The parameter is there in the subscription itself, but missing in the constructor.
Can this be added, or is there another way on how to set this value to true?
`class SubscriptionCollection(EntityCollection[Subscription]):
def init(self, context, resource_path=None):
super(SubscriptionCollection, self).init(
context, Subscription, resource_path
)
def add(
self,
change_type,
notification_url,
resource_path,
expiration,
client_state=None,
latest_supported_tls_version=None,
include_resource_data=false, <------ to be added
):
...
...
payload = {
"changeType": change_type,
"notificationUrl": notification_url,
"resource": str(resource_path),
"expirationDateTime": expiration.isoformat() + "Z",
"clientState": client_state,
"latestSupportedTlsVersion": latest_supported_tls_version,
"includeResourceData": include_resource_data, <------ to be added
}
`