GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-github3/docs/git_data.rst at master · prezi/python-github3

This repository was archived by the owner on Jun 25, 2019. It is now read-only.

Expand file tree

/

git_data.rst

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
91 lines (51 loc) · 1.39 KB
/

git_data.rst

Copy path

File metadata and controls

91 lines (51 loc) · 1.39 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Git Data services

Example:

from pygithub3 import Github

gh = Github(user='someone', repo='some_repo')

a_blob = gh.git_data.blobs.get('a long sha')

dev_branch = gh.git_data.references.get('heads/add_a_thing')

GitData

.. autoclass:: pygithub3.services.git_data.GitData
    :members:

    .. attribute:: blobs

        :ref:`Blobs service`

    .. attribute:: commits

        :ref:`Gitdata commits service`

    .. attribute:: references

        :ref:`References service`

    .. attribute:: tags

        :ref:`Tags service`

    .. attribute:: trees

        :ref:`Trees service`


Blobs

.. autoclass:: pygithub3.services.git_data.Blobs
    :members:


Commits

.. autoclass:: pygithub3.services.git_data.Commits
    :members:


References

.. autoclass:: pygithub3.services.git_data.References
    :members:


Tags

.. autoclass:: pygithub3.services.git_data.Tags
    :members:


Trees

.. autoclass:: pygithub3.services.git_data.Trees
    :members:

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.