| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fb59bd8 commit 19dbc95
10 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ | |||
| 17 | 17 | import dataclasses | |
| 18 | 18 | import json # type: ignore | |
| 19 | 19 | import re | |
| 20 | - from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 20 | + from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 21 | 21 | import warnings | |
| 22 | 22 | ||
| 23 | 23 | from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming | |
@@ -362,7 +362,7 @@ class _CreateAttestor(BinauthzManagementServiceV1RestStub): | |||
| 362 | 362 | def __hash__(self): | |
| 363 | 363 | return hash("CreateAttestor") | |
| 364 | 364 | ||
| 365 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { | ||
| 365 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { | ||
| 366 | 366 | "attestorId": "", | |
| 367 | 367 | } | |
| 368 | 368 | ||
@@ -465,7 +465,7 @@ class _DeleteAttestor(BinauthzManagementServiceV1RestStub): | |||
| 465 | 465 | def __hash__(self): | |
| 466 | 466 | return hash("DeleteAttestor") | |
| 467 | 467 | ||
| 468 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 468 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 469 | 469 | ||
| 470 | 470 | @classmethod | |
| 471 | 471 | def _get_unset_required_fields(cls, message_dict): | |
@@ -541,7 +541,7 @@ class _GetAttestor(BinauthzManagementServiceV1RestStub): | |||
| 541 | 541 | def __hash__(self): | |
| 542 | 542 | return hash("GetAttestor") | |
| 543 | 543 | ||
| 544 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 544 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 545 | 545 | ||
| 546 | 546 | @classmethod | |
| 547 | 547 | def _get_unset_required_fields(cls, message_dict): | |
@@ -633,7 +633,7 @@ class _GetPolicy(BinauthzManagementServiceV1RestStub): | |||
| 633 | 633 | def __hash__(self): | |
| 634 | 634 | return hash("GetPolicy") | |
| 635 | 635 | ||
| 636 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 636 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 637 | 637 | ||
| 638 | 638 | @classmethod | |
| 639 | 639 | def _get_unset_required_fields(cls, message_dict): | |
@@ -723,7 +723,7 @@ class _ListAttestors(BinauthzManagementServiceV1RestStub): | |||
| 723 | 723 | def __hash__(self): | |
| 724 | 724 | return hash("ListAttestors") | |
| 725 | 725 | ||
| 726 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 726 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 727 | 727 | ||
| 728 | 728 | @classmethod | |
| 729 | 729 | def _get_unset_required_fields(cls, message_dict): | |
@@ -813,7 +813,7 @@ class _UpdateAttestor(BinauthzManagementServiceV1RestStub): | |||
| 813 | 813 | def __hash__(self): | |
| 814 | 814 | return hash("UpdateAttestor") | |
| 815 | 815 | ||
| 816 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 816 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 817 | 817 | ||
| 818 | 818 | @classmethod | |
| 819 | 819 | def _get_unset_required_fields(cls, message_dict): | |
@@ -914,7 +914,7 @@ class _UpdatePolicy(BinauthzManagementServiceV1RestStub): | |||
| 914 | 914 | def __hash__(self): | |
| 915 | 915 | return hash("UpdatePolicy") | |
| 916 | 916 | ||
| 917 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 917 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 918 | 918 | ||
| 919 | 919 | @classmethod | |
| 920 | 920 | def _get_unset_required_fields(cls, message_dict): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ | |||
| 17 | 17 | import dataclasses | |
| 18 | 18 | import json # type: ignore | |
| 19 | 19 | import re | |
| 20 | - from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 20 | + from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 21 | 21 | import warnings | |
| 22 | 22 | ||
| 23 | 23 | from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming | |
@@ -199,7 +199,7 @@ class _GetSystemPolicy(SystemPolicyV1RestStub): | |||
| 199 | 199 | def __hash__(self): | |
| 200 | 200 | return hash("GetSystemPolicy") | |
| 201 | 201 | ||
| 202 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 202 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 203 | 203 | ||
| 204 | 204 | @classmethod | |
| 205 | 205 | def _get_unset_required_fields(cls, message_dict): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ | |||
| 17 | 17 | import dataclasses | |
| 18 | 18 | import json # type: ignore | |
| 19 | 19 | import re | |
| 20 | - from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 20 | + from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 21 | 21 | import warnings | |
| 22 | 22 | ||
| 23 | 23 | from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming | |
@@ -201,7 +201,7 @@ class _ValidateAttestationOccurrence(ValidationHelperV1RestStub): | |||
| 201 | 201 | def __hash__(self): | |
| 202 | 202 | return hash("ValidateAttestationOccurrence") | |
| 203 | 203 | ||
| 204 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 204 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 205 | 205 | ||
| 206 | 206 | @classmethod | |
| 207 | 207 | def _get_unset_required_fields(cls, message_dict): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,8 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | + from __future__ import annotations | ||
| 17 | + | ||
| 16 | 18 | from typing import MutableMapping, MutableSequence | |
| 17 | 19 | ||
| 18 | 20 | from google.protobuf import timestamp_pb2 # type: ignore | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,8 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | + from __future__ import annotations | ||
| 17 | + | ||
| 16 | 18 | from typing import MutableMapping, MutableSequence | |
| 17 | 19 | ||
| 18 | 20 | import grafeas.grafeas_v1.types # type: ignore | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ | |||
| 17 | 17 | import dataclasses | |
| 18 | 18 | import json # type: ignore | |
| 19 | 19 | import re | |
| 20 | - from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 20 | + from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 21 | 21 | import warnings | |
| 22 | 22 | ||
| 23 | 23 | from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming | |
@@ -366,7 +366,7 @@ class _CreateAttestor(BinauthzManagementServiceV1Beta1RestStub): | |||
| 366 | 366 | def __hash__(self): | |
| 367 | 367 | return hash("CreateAttestor") | |
| 368 | 368 | ||
| 369 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = { | ||
| 369 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = { | ||
| 370 | 370 | "attestorId": "", | |
| 371 | 371 | } | |
| 372 | 372 | ||
@@ -469,7 +469,7 @@ class _DeleteAttestor(BinauthzManagementServiceV1Beta1RestStub): | |||
| 469 | 469 | def __hash__(self): | |
| 470 | 470 | return hash("DeleteAttestor") | |
| 471 | 471 | ||
| 472 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 472 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 473 | 473 | ||
| 474 | 474 | @classmethod | |
| 475 | 475 | def _get_unset_required_fields(cls, message_dict): | |
@@ -545,7 +545,7 @@ class _GetAttestor(BinauthzManagementServiceV1Beta1RestStub): | |||
| 545 | 545 | def __hash__(self): | |
| 546 | 546 | return hash("GetAttestor") | |
| 547 | 547 | ||
| 548 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 548 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 549 | 549 | ||
| 550 | 550 | @classmethod | |
| 551 | 551 | def _get_unset_required_fields(cls, message_dict): | |
@@ -637,7 +637,7 @@ class _GetPolicy(BinauthzManagementServiceV1Beta1RestStub): | |||
| 637 | 637 | def __hash__(self): | |
| 638 | 638 | return hash("GetPolicy") | |
| 639 | 639 | ||
| 640 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 640 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 641 | 641 | ||
| 642 | 642 | @classmethod | |
| 643 | 643 | def _get_unset_required_fields(cls, message_dict): | |
@@ -728,7 +728,7 @@ class _ListAttestors(BinauthzManagementServiceV1Beta1RestStub): | |||
| 728 | 728 | def __hash__(self): | |
| 729 | 729 | return hash("ListAttestors") | |
| 730 | 730 | ||
| 731 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 731 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 732 | 732 | ||
| 733 | 733 | @classmethod | |
| 734 | 734 | def _get_unset_required_fields(cls, message_dict): | |
@@ -818,7 +818,7 @@ class _UpdateAttestor(BinauthzManagementServiceV1Beta1RestStub): | |||
| 818 | 818 | def __hash__(self): | |
| 819 | 819 | return hash("UpdateAttestor") | |
| 820 | 820 | ||
| 821 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 821 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 822 | 822 | ||
| 823 | 823 | @classmethod | |
| 824 | 824 | def _get_unset_required_fields(cls, message_dict): | |
@@ -919,7 +919,7 @@ class _UpdatePolicy(BinauthzManagementServiceV1Beta1RestStub): | |||
| 919 | 919 | def __hash__(self): | |
| 920 | 920 | return hash("UpdatePolicy") | |
| 921 | 921 | ||
| 922 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 922 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 923 | 923 | ||
| 924 | 924 | @classmethod | |
| 925 | 925 | def _get_unset_required_fields(cls, message_dict): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ | |||
| 17 | 17 | import dataclasses | |
| 18 | 18 | import json # type: ignore | |
| 19 | 19 | import re | |
| 20 | - from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 20 | + from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union | ||
| 21 | 21 | import warnings | |
| 22 | 22 | ||
| 23 | 23 | from google.api_core import gapic_v1, path_template, rest_helpers, rest_streaming | |
@@ -199,7 +199,7 @@ class _GetSystemPolicy(SystemPolicyV1Beta1RestStub): | |||
| 199 | 199 | def __hash__(self): | |
| 200 | 200 | return hash("GetSystemPolicy") | |
| 201 | 201 | ||
| 202 | - __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {} | ||
| 202 | + __REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {} | ||
| 203 | 203 | ||
| 204 | 204 | @classmethod | |
| 205 | 205 | def _get_unset_required_fields(cls, message_dict): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,8 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | + from __future__ import annotations | ||
| 17 | + | ||
| 16 | 18 | from typing import MutableMapping, MutableSequence | |
| 17 | 19 | ||
| 18 | 20 | from google.protobuf import timestamp_pb2 # type: ignore | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,8 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | + from __future__ import annotations | ||
| 17 | + | ||
| 16 | 18 | from typing import MutableMapping, MutableSequence | |
| 17 | 19 | ||
| 18 | 20 | from google.protobuf import timestamp_pb2 # type: ignore | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,8 @@ | |||
| 13 | 13 | # See the License for the specific language governing permissions and | |
| 14 | 14 | # limitations under the License. | |
| 15 | 15 | # | |
| 16 | + from __future__ import annotations | ||
| 17 | + | ||
| 16 | 18 | from typing import MutableMapping, MutableSequence | |
| 17 | 19 | ||
| 18 | 20 | import proto # type: ignore | |
| Back | FazBrowse Home | New Git URL |
0 commit comments