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
serializeanddeserialize, 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
PULLvalue for pull request contribution
ISSUEvalue for issue contribution