Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/a/dataone.cli-1.2.4/d1_client_cli/impl/operation_maker.py   dataone.cli(Download)
  def create(self, pid, path, format_id=None):
    operation = {
      u'operation': 'create',
      u'authentication': {
        u'anonymous': self._session.get(session.ANONYMOUS_NAME),
  def update(self, pid, path, pid_new, format_id=None):
    operation = {
      u'operation': 'update',
      u'authentication': {
        u'anonymous': self._session.get(session.ANONYMOUS_NAME),
  def create_package(self, pids):
    operation = {
      u'operation': 'create_package',
      u'authentication': {
        u'anonymous': self._session.get(session.ANONYMOUS_NAME),
  def archive(self, pid):
    operation = {
      u'operation': 'archive',
      u'authentication': {
        u'anonymous': self._session.get(session.ANONYMOUS_NAME),
  def update_access_policy(self, pid):
    operation = {
      u'operation': 'update_access_policy',
      u'authentication': {
        u'anonymous': self._session.get(session.ANONYMOUS_NAME),

src/d/a/dataone.cli-1.2.4/d1_client_cli/impl/command_processor.py   dataone.cli(Download)
  def _mn_cn_client_connect_params_from_session(self, url_name):
    anonymous = self._session.get(session.ANONYMOUS_NAME)
    return {
      'base_url': self._session.get(url_name),
      'cert_path': self._session.get(session.CERT_FILENAME_NAME)