LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
opt.transfer.transfer_option Class Reference

Public Member Functions

def __init__ (self, required=False, help=None)
 
def __call__ (self, f)
 

Public Attributes

 required
 
 help
 

Detailed Description

Definition at line 28 of file transfer.py.

Constructor & Destructor Documentation

◆ __init__()

def opt.transfer.transfer_option.__init__ (   self,
  required = False,
  help = None 
)

Definition at line 29 of file transfer.py.

29  def __init__(self, required=False, help=None):
30  self.required = required
31  self.help = "The external data transfer mode." if help is None else help
32 

Member Function Documentation

◆ __call__()

def opt.transfer.transfer_option.__call__ (   self,
  f 
)

Definition at line 33 of file transfer.py.

33  def __call__(self, f):
34  return click.option("-t", "--transfer",
35  default="auto",
36  type=click.Choice(allowed_types),
37  required=self.required,
38  help=self.help)(f)

Member Data Documentation

◆ help

opt.transfer.transfer_option.help

Definition at line 31 of file transfer.py.

◆ required

opt.transfer.transfer_option.required

Definition at line 30 of file transfer.py.


The documentation for this class was generated from the following file: