mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Reorganize
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class SimpleTypePolicy:
|
||||
def create( self, obj, rawValue ):
|
||||
return rawValue
|
||||
|
||||
class ObjectTypePolicy:
|
||||
def __init__( self, type ):
|
||||
self.__type = type
|
||||
|
||||
def create( self, obj, rawValue ):
|
||||
return self.__type( obj._github, rawValue, lazy = True )
|
||||
Reference in New Issue
Block a user