Skip to content

Conversation

mxschmitt
Copy link
Member

No description provided.

@@ -22,9 +22,9 @@ def __init__(self, channel: Channel) -> None:
self._channel = channel

async def snapshot(
self, interestingOnly: bool = None, root: ElementHandle = None
self, interestingOnly: bool = True, root: ElementHandle = None
Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately there is no undefined in Python. So JSON won't keep it out and will treat it in this case as null -> Client side default parameters will be ignored. So we either have our own "Undefined" which will remove the keys in the serialisation or we duplicate the default values.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 171556844

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 94.11%

Totals Coverage Status
Change from base Build 170934414: 0.1%
Covered Lines: 1390
Relevant Lines: 1477

💛 - Coveralls

@pavelfeldman pavelfeldman merged commit 0871e3f into microsoft:master Jul 17, 2020
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