E530 If a parameter has no properties still rerturn an empty dict not nil by shizam · Pull Request #333 · dropbox/stone · GitHub
[go: up one dir, main page]

Skip to content

If a parameter has no properties still rerturn an empty dict not nil#333

Merged
julianlocke merged 1 commit intodropbox:mainfrom
shizam:main
May 15, 2024
Merged

If a parameter has no properties still rerturn an empty dict not nil#333
julianlocke merged 1 commit intodropbox:mainfrom
shizam:main

Conversation

@shizam
Copy link
Contributor
@shizam shizam commented May 15, 2024

If there is a paramater that has no arguments it currently sends that parameter as nil which fails stone validation on the server as it still expects that parameter to be provided but as an empty object {}, this fixes that.

Checklist

General Contributing

  • Have you read the Code of Conduct and signed the CLA?

Is This a Code Change?

  • Non-code related change (markdown/git settings etc)
  • Code Change
  • Example/Test Code Change

Validation

  • Have you ran tox?
  • Do the tests pass?

@CLAassistant
Copy link
CLAassistant commented May 15, 2024

CLA assistant check
All committers have signed the CLA.

@julianlocke julianlocke merged commit 934e989 into dropbox:main May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0