schrodinger.tasks.test.cli.customized_param_cli module

class schrodinger.tasks.test.cli.customized_param_cli.Address(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

street: str

A parameter of the class.

city: str

A parameter of the class.

zip_code: str

A parameter of the class.

cityChanged

A pyqtSignal emitted by instances of the class.

cityReplaced

A pyqtSignal emitted by instances of the class.

streetChanged

A pyqtSignal emitted by instances of the class.

streetReplaced

A pyqtSignal emitted by instances of the class.

zip_codeChanged

A pyqtSignal emitted by instances of the class.

zip_codeReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.tasks.test.cli.customized_param_cli.Preferences(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

newsletter: bool

A parameter of the class.

favorite_categories: list[str]

A parameter of the class.

favorite_categoriesChanged

A pyqtSignal emitted by instances of the class.

favorite_categoriesReplaced

A pyqtSignal emitted by instances of the class.

newsletterChanged

A pyqtSignal emitted by instances of the class.

newsletterReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.tasks.test.cli.customized_param_cli.User(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

name: str

A parameter of the class.

email: str

A parameter of the class.

address: Address

A parameter of the class.

preferences: Preferences

A parameter of the class.

addressChanged

A pyqtSignal emitted by instances of the class.

addressReplaced

A pyqtSignal emitted by instances of the class.

emailChanged

A pyqtSignal emitted by instances of the class.

emailReplaced

A pyqtSignal emitted by instances of the class.

nameChanged

A pyqtSignal emitted by instances of the class.

nameReplaced

A pyqtSignal emitted by instances of the class.

preferencesChanged

A pyqtSignal emitted by instances of the class.

preferencesReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.tasks.test.cli.customized_param_cli.UserCLI

Bases: ParamCLI

ParamClass

alias of User

customizeParamArgs()

A param arg is a parser argument that corresponds to a param in the self.ParamClass. See customizeParser for adding non-param args.

The following methods can be called from this method to customize param args:

updateParamArg skipParamArg flattenParamArgs

mainFunction(user)