|
2 | 2 | #
|
3 | 3 | # NOTE: This dynamically typed stub was automatically generated by stubgen.
|
4 | 4 |
|
5 |
| -from typing import Any, Union, Dict, List |
| 5 | +from typing import Any, Union, Dict, List, Text |
6 | 6 |
|
7 | 7 | PRIMITIVE_TYPES = ... # type: Any
|
8 | 8 | NAMED_TYPES = ... # type: Any
|
@@ -32,9 +32,9 @@ class Name:
|
32 | 32 | class Names:
|
33 | 33 | names = ... # type: Any
|
34 | 34 | default_namespace = ... # type: Any
|
35 |
| - def __init__(self, default_namespace: Union[str, unicode] = None) -> None: ... |
36 |
| - def has_name(self, name_attr: Union[str, unicode], space_attr: Union[str, unicode]) -> bool: ... |
37 |
| - def get_name(self, name_attr: Union[str, unicode], space_attr: Union[str, unicode]) -> Schema: ... |
| 35 | + def __init__(self, default_namespace: Union[str, Text] = None) -> None: ... |
| 36 | + def has_name(self, name_attr: Union[str, Text], space_attr: Union[str, Text]) -> bool: ... |
| 37 | + def get_name(self, name_attr: Union[str, Text], space_attr: Union[str, Text]) -> Schema: ... |
38 | 38 | def prune_namespace(self, properties): ...
|
39 | 39 | def add_name(self, name_attr, space_attr, new_schema): ...
|
40 | 40 |
|
|
0 commit comments