chrisstoreclient/client.py
def modify_plugin_meta(self, name, public_repo, new_owner=None):
        """
        Modify an existing plugin meta in the ChRIS store.
        """
        url = self.get_url('plugin_metas')
        query_url = url + 'search/'
        search_params = {'name_exact': name}
        collection = self.get(query_url, search_params)
        url = collection.items[0].href
        data = {'public_repo': public_repo}
        if new_owner:
            data['new_owner'] = new_owner
        collection = self.put(url, data)
        result = self.get_data_from_collection(collection)
        return result['data'][0]

        Modify an existing plugin meta in the ChRIS store.
        
Modify an existing plugin meta in the ChRIS store.
Modify an existing plugin meta in the ChRIS store .
def modify_plugin_meta(self, name, public_repo, new_owner=None):
        url = self.get_url('plugin_metas')
        query_url = url + 'search/'
        search_params = {'name_exact': name}
        collection = self.get(query_url, search_params)
        url = collection.items[0].href
        data = {'public_repo': public_repo}
        if new_owner:
            data['new_owner'] = new_owner
        collection = self.put(url, data)
        result = self.get_data_from_collection(collection)
        return result['data'][0]
def modify_plugin_meta ( self , name , public_repo , new_owner = None ) : url = self . get_url ( 'plugin_metas' ) query_url = url + 'search/' search_params = { 'name_exact' : name } collection = self . get ( query_url , search_params ) url = collection . items [ 0 ] . href data = { 'public_repo' : public_repo } if new_owner : data [ 'new_owner' ] = new_owner collection = self . put ( url , data ) result = self . get_data_from_collection ( collection ) return result [ 'data' ] [ 0 ]
Modify an existing plugin meta in the ChRIS store.
Modify an existing plugin meta in the ChRIS store .
"""
        Modify an existing plugin meta in the ChRIS store.
        """
self
name
public_repo
new_owner