(self, attributes: dict[str, Any])
| 4681 | return True |
| 4682 | |
| 4683 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 4684 | if "allow_auto_merge" in attributes: # pragma no branch |
| 4685 | self._allow_auto_merge = self._makeBoolAttribute(attributes["allow_auto_merge"]) |
| 4686 | if "allow_forking" in attributes: # pragma no branch |
| 4687 | self._allow_forking = self._makeBoolAttribute(attributes["allow_forking"]) |
| 4688 | if "allow_merge_commit" in attributes: # pragma no branch |
| 4689 | self._allow_merge_commit = self._makeBoolAttribute(attributes["allow_merge_commit"]) |
| 4690 | if "allow_rebase_merge" in attributes: # pragma no branch |
| 4691 | self._allow_rebase_merge = self._makeBoolAttribute(attributes["allow_rebase_merge"]) |
| 4692 | if "allow_squash_merge" in attributes: # pragma no branch |
| 4693 | self._allow_squash_merge = self._makeBoolAttribute(attributes["allow_squash_merge"]) |
| 4694 | if "allow_update_branch" in attributes: # pragma no branch |
| 4695 | self._allow_update_branch = self._makeBoolAttribute(attributes["allow_update_branch"]) |
| 4696 | if "anonymous_access_enabled" in attributes: # pragma no branch |
| 4697 | self._anonymous_access_enabled = self._makeBoolAttribute(attributes["anonymous_access_enabled"]) |
| 4698 | if "archive_url" in attributes: # pragma no branch |
| 4699 | self._archive_url = self._makeStringAttribute(attributes["archive_url"]) |
| 4700 | if "archived" in attributes: # pragma no branch |
| 4701 | self._archived = self._makeBoolAttribute(attributes["archived"]) |
| 4702 | if "assignees_url" in attributes: # pragma no branch |
| 4703 | self._assignees_url = self._makeStringAttribute(attributes["assignees_url"]) |
| 4704 | if "blobs_url" in attributes: # pragma no branch |
| 4705 | self._blobs_url = self._makeStringAttribute(attributes["blobs_url"]) |
| 4706 | if "branches_url" in attributes: # pragma no branch |
| 4707 | self._branches_url = self._makeStringAttribute(attributes["branches_url"]) |
| 4708 | if "clone_url" in attributes: # pragma no branch |
| 4709 | self._clone_url = self._makeStringAttribute(attributes["clone_url"]) |
| 4710 | if "code_of_conduct" in attributes: # pragma no branch |
| 4711 | self._code_of_conduct = self._makeDictAttribute(attributes["code_of_conduct"]) |
| 4712 | if "collaborators_url" in attributes: # pragma no branch |
| 4713 | self._collaborators_url = self._makeStringAttribute(attributes["collaborators_url"]) |
| 4714 | if "comments_url" in attributes: # pragma no branch |
| 4715 | self._comments_url = self._makeStringAttribute(attributes["comments_url"]) |
| 4716 | if "commits_url" in attributes: # pragma no branch |
| 4717 | self._commits_url = self._makeStringAttribute(attributes["commits_url"]) |
| 4718 | if "compare_url" in attributes: # pragma no branch |
| 4719 | self._compare_url = self._makeStringAttribute(attributes["compare_url"]) |
| 4720 | if "contents_url" in attributes: # pragma no branch |
| 4721 | self._contents_url = self._makeStringAttribute(attributes["contents_url"]) |
| 4722 | if "contributors_url" in attributes: # pragma no branch |
| 4723 | self._contributors_url = self._makeStringAttribute(attributes["contributors_url"]) |
| 4724 | if "created_at" in attributes: # pragma no branch |
| 4725 | self._created_at = self._makeDatetimeAttribute(attributes["created_at"]) |
| 4726 | if "custom_properties" in attributes: # pragma no branch |
| 4727 | self._custom_properties = self._makeDictAttribute(attributes["custom_properties"]) |
| 4728 | if "default_branch" in attributes: # pragma no branch |
| 4729 | self._default_branch = self._makeStringAttribute(attributes["default_branch"]) |
| 4730 | if "delete_branch_on_merge" in attributes: # pragma no branch |
| 4731 | self._delete_branch_on_merge = self._makeBoolAttribute(attributes["delete_branch_on_merge"]) |
| 4732 | if "deployments_url" in attributes: # pragma no branch |
| 4733 | self._deployments_url = self._makeStringAttribute(attributes["deployments_url"]) |
| 4734 | if "description" in attributes: # pragma no branch |
| 4735 | self._description = self._makeStringAttribute(attributes["description"]) |
| 4736 | if "disabled" in attributes: # pragma no branch |
| 4737 | self._disabled = self._makeBoolAttribute(attributes["disabled"]) |
| 4738 | if "downloads_url" in attributes: # pragma no branch |
| 4739 | self._downloads_url = self._makeStringAttribute(attributes["downloads_url"]) |
| 4740 | if "events_url" in attributes: # pragma no branch |
no test coverage detected