ghcontribs.ContribType

class ghcontribs.ContribType(value)

Enumeration for GitHub contribution types.

Note that the enumeration values are mapped to a ContribTypeInfo, which contains further information about that type.

Note

This class contains methods serialize and deserialize, which for some reason aren’t currently being found by Sphinx (to generate online documentation).

__init__()

Methods

serialize()

Serialization of this type for JSON.

deserialize(name)

Construct from JSON-serialized string

Attributes

PULL

value for pull request contribution

ISSUE

value for issue contribution