This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Pyrathon
committed
Nov 29, 2018
1 parent
3e56122
commit 626079e
Showing
3 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
from typing import Any, Dict | ||
from typing import Any, Dict, Tuple | ||
|
||
class RefResolver: pass | ||
|
||
class RefResolver: | ||
def resolve(self, url: str) -> Tuple[str, Dict]: | ||
... | ||
|
||
|
||
class ValidationError(Exception): pass | ||
|
||
def validate(instance: Any, schema: Dict, cls=None, *args, **kwargs) -> None: pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters