Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required params must be positional #16194

Merged
merged 5 commits into from
Jan 15, 2021
Merged

Conversation

rakshith91
Copy link
Contributor

@rakshith91 rakshith91 commented Jan 15, 2021

Fixes #15959

Some of the params in the eventgrid event are required, but have nbeen sitting as a kwarg. Need to flatten them as positional

@ghost ghost added the Event Grid label Jan 15, 2021
@rakshith91 rakshith91 added the Client This issue points to a problem in the data-plane of the library. label Jan 15, 2021
@rakshith91 rakshith91 marked this pull request as ready for review January 15, 2021 18:46
@rakshith91 rakshith91 requested a review from yunhaoling January 15, 2021 18:46
@@ -2,6 +2,8 @@

## 2.0.0b5 (Unreleased)

**Breaking Changes**
- `EventGridEvent` has two additional required positional parameters namely, `data` and `data_version`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bug fix, since no calls could succeed in the past without those two, it means people had to add them manually. So this PR is mostly acknowledging to people that yes, our IntelliSense was crap.

Copy link
Member

@lmazuel lmazuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rakshith91 rakshith91 requested a review from swathipil as a code owner January 15, 2021 22:30
@rakshith91 rakshith91 enabled auto-merge (squash) January 15, 2021 22:31
@rakshith91 rakshith91 merged commit eb013c2 into Azure:master Jan 15, 2021
@rakshith91 rakshith91 deleted the egreqparam branch January 15, 2021 22:51
iscai-msft added a commit to iscai-msft/azure-sdk-for-python that referenced this pull request Jan 20, 2021
…into fix_autorest_links

* 'master' of https://github.com/Azure/azure-sdk-for-python: (44 commits)
  Added credscan steps for python (Azure#16136)
  [Communication] Move core dependency to setup.py from dev_requirements in communication management package (Azure#16077)
  Increment package version after release of azure_security_attestation (Azure#16218)
  T2 compute 2021 01 19 (Azure#16246)
  Update error message in tools repo (Azure#16245)
  Add LanguageDisplayName variable to LanguageSettings file (Azure#16239)
  Fix Eventgrid sample (Azure#16217)
  Adding 2020-09-01-hybrid profile (Azure#14642)
  Increment version for storage releases (Azure#16152)
  Increment package version after release of azure_storage_file_datalake (Azure#16157)
  make the globbing of the packages work in dev_setup from any invocation directory (Azure#16209)
  [Queues] Generated Queues using newest autorest version (Azure#16148)
  T2 confluent 2021 01 15 (Azure#16221)
  we are using a pool not a specific vmImage (Azure#16213)
  Naming Feedback - part 2 (Azure#16210)
  Naming feedback - part 1 (Azure#16208)
  Raise on bad credential (Azure#16206)
  Updated release date (Azure#16205)
  Required params must be positional (Azure#16194)
  Replace EventgridSharedAccessSignatureCredential with AzureSasCredential (Azure#16147)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Event Grid
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EventGridEvent signature should show required parameters
2 participants