MCPcopy
hub / github.com/PyGithub/PyGithub / update

Method update

github/SourceImport.py:207–211  ·  view source on GitHub ↗
(
        self, additional_headers: dict[str, Any] | None = None, parameters: dict[str, Any] | None = None
    )

Source from the content-addressed store, hash-verified

205 return self._vcs_url.value
206
207 def update(
208 self, additional_headers: dict[str, Any] | None = None, parameters: dict[str, Any] | None = None
209 ) -> bool:
210 import_header = {"Accept": Consts.mediaTypeImportPreview}
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

Callers 15

mainFunction · 0.45
__setstate__Method · 0.45
add_parameters_to_urlMethod · 0.45
withAuthMethod · 0.45
withLazyMethod · 0.45
withLazyMethod · 0.45
withLazyMethod · 0.45
totalCountMethod · 0.45
newMethod · 0.45
testDidNotUpdateMethod · 0.45
testDidUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected