mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Expand Topic class and add test coverage (#1252)
* Expand Topic class and add test coverage * Add test coverage for Topic properties * Fix misspelling in comment
This commit is contained in:
committed by
Steve Kowalik
parent
ec3c8d7b3b
commit
ac68274200
@@ -152,6 +152,10 @@ class GithubObject(object):
|
||||
def _makeIntAttribute(value):
|
||||
return GithubObject.__makeSimpleAttribute(value, six.integer_types)
|
||||
|
||||
@staticmethod
|
||||
def _makeFloatAttribute(value):
|
||||
return GithubObject.__makeSimpleAttribute(value, float)
|
||||
|
||||
@staticmethod
|
||||
def _makeBoolAttribute(value):
|
||||
return GithubObject.__makeSimpleAttribute(value, bool)
|
||||
|
||||
Reference in New Issue
Block a user