(self, attributes: dict[str, Any])
| 211 | return super().update(additional_headers=import_header, parameters=parameters) |
| 212 | |
| 213 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 214 | if "authors_count" in attributes: # pragma no branch |
| 215 | self._authors_count = self._makeIntAttribute(attributes["authors_count"]) |
| 216 | if "authors_url" in attributes: # pragma no branch |
| 217 | self._authors_url = self._makeStringAttribute(attributes["authors_url"]) |
| 218 | if "commit_count" in attributes: # pragma no branch |
| 219 | self._commit_count = self._makeIntAttribute(attributes["commit_count"]) |
| 220 | if "error_message" in attributes: # pragma no branch |
| 221 | self._error_message = self._makeStringAttribute(attributes["error_message"]) |
| 222 | if "failed_step" in attributes: # pragma no branch |
| 223 | self._failed_step = self._makeStringAttribute(attributes["failed_step"]) |
| 224 | if "has_large_files" in attributes: # pragma no branch |
| 225 | self._has_large_files = self._makeBoolAttribute(attributes["has_large_files"]) |
| 226 | if "html_url" in attributes: # pragma no branch |
| 227 | self._html_url = self._makeStringAttribute(attributes["html_url"]) |
| 228 | if "import_percent" in attributes: # pragma no branch |
| 229 | self._import_percent = self._makeIntAttribute(attributes["import_percent"]) |
| 230 | if "large_files_count" in attributes: # pragma no branch |
| 231 | self._large_files_count = self._makeIntAttribute(attributes["large_files_count"]) |
| 232 | if "large_files_size" in attributes: # pragma no branch |
| 233 | self._large_files_size = self._makeIntAttribute(attributes["large_files_size"]) |
| 234 | if "message" in attributes: # pragma no branch |
| 235 | self._message = self._makeStringAttribute(attributes["message"]) |
| 236 | if "project_choices" in attributes: # pragma no branch |
| 237 | self._project_choices = self._makeListOfDictsAttribute(attributes["project_choices"]) |
| 238 | if "push_percent" in attributes: # pragma no branch |
| 239 | self._push_percent = self._makeIntAttribute(attributes["push_percent"]) |
| 240 | if "repository_url" in attributes: # pragma no branch |
| 241 | self._repository_url = self._makeStringAttribute(attributes["repository_url"]) |
| 242 | if "status" in attributes: # pragma no branch |
| 243 | self._status = self._makeStringAttribute(attributes["status"]) |
| 244 | if "status_text" in attributes: # pragma no branch |
| 245 | self._status_text = self._makeStringAttribute(attributes["status_text"]) |
| 246 | if "svc_root" in attributes: # pragma no branch |
| 247 | self._svc_root = self._makeStringAttribute(attributes["svc_root"]) |
| 248 | if "svn_root" in attributes: # pragma no branch |
| 249 | self._svn_root = self._makeStringAttribute(attributes["svn_root"]) |
| 250 | if "tfvc_project" in attributes: # pragma no branch |
| 251 | self._tfvc_project = self._makeStringAttribute(attributes["tfvc_project"]) |
| 252 | if "url" in attributes: # pragma no branch |
| 253 | self._url = self._makeStringAttribute(attributes["url"]) |
| 254 | if "use_lfs" in attributes: # pragma no branch |
| 255 | self._use_lfs = self._makeStringAttribute(attributes["use_lfs"]) |
| 256 | if "vcs" in attributes: # pragma no branch |
| 257 | self._vcs = self._makeStringAttribute(attributes["vcs"]) |
| 258 | if "vcs_url" in attributes: # pragma no branch |
| 259 | self._vcs_url = self._makeStringAttribute(attributes["vcs_url"]) |
nothing calls this directly
no test coverage detected