Skip to content

pygithub put file #1

@qgbcs

Description

@qgbcs

ipdb> s
--Call--
> /usr/local/lib/python3.9/site-packages/requests/sessions.py(592)put()
    590         return self.request('POST', url, data=data, json=json, **kwargs)
    591 
--> 592     def put(self, url, data=None, **kwargs):
    593         r"""Sends a PUT request. Returns :class:`Response` object.
    594 

ipdb> !(self, url, data,kwargs)
(<requests.sessions.Session object at 0x7fd3cc05e220>, 'https://api.github.com:443/repos/qgbcs/kp/contents/2022-06-24__11.05.04__.110.txt', '{"message": "add new file", "content": "ZGF0YQ==", "branch": "master"}', {'headers': {'Authorization': 'token ============', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}, 'timeout': 15, 'verify': True, 'allow_redirects': False})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions