 from storyboardclient import base <EOL> from storyboardclient . v1 import users <EOL> class UsersNestedManager ( base . BaseNestedManager ) : <EOL> parent_url_key = "<STR_LIT>" <EOL> url_key = "<STR_LIT>" <EOL> resource_class = users . User <EOL> def add ( self , user ) : <EOL> if isinstance ( user , users . User ) : <EOL> user_id = user . id <EOL> else : 
 user_id = user 
 from storyboardclient import base <EOL> from storyboardclient . v1 import users <EOL> class UsersNestedManager ( base . BaseNestedManager ) : <EOL> parent_url_key = "<STR_LIT>" <EOL> url_key = "<STR_LIT>" <EOL> resource_class = users . User <EOL> def add ( self , user ) : <EOL> if isinstance ( user , users . User ) : <EOL> user_id = user . id <EOL> else : <EOL> user_id = user <EOL> self . put ( id = user_id ) <EOL> def remove ( self , user ) : <EOL> if isinstance ( user , users . User ) : <EOL> user_id = user . id <EOL> else : <EOL> user_id = user <EOL> self . delete ( id = user_id ) <EOL> class Team ( base . BaseObject ) : <EOL> name = None <EOL> users = UsersNestedManager <EOL> class TeamsManager ( base . BaseManager ) : <EOL> url_key = "<STR_LIT>" <EOL> resource_class = Team </s>
