| 1 |
:py:mod:`aiida.cmdline` |
| 2 |
======================= |
| 3 |
|
| 4 |
.. py:module:: aiida.cmdline |
| 5 |
|
| 6 |
.. autodoc2-docstring:: aiida.cmdline |
| 7 |
:allowtitles: |
| 8 |
|
| 9 |
Package Contents |
| 10 |
---------------- |
| 11 |
|
| 12 |
Classes |
| 13 |
~~~~~~~ |
| 14 |
|
| 15 |
.. list-table:: |
| 16 |
:class: autosummary longtable |
| 17 |
:align: left |
| 18 |
|
| 19 |
* - :py:obj:`AbsolutePathParamType <aiida.cmdline.params.types.path.AbsolutePathParamType>` |
| 20 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.path.AbsolutePathParamType |
| 21 |
:summary: |
| 22 |
* - :py:obj:`CalculationParamType <aiida.cmdline.params.types.calculation.CalculationParamType>` |
| 23 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.calculation.CalculationParamType |
| 24 |
:summary: |
| 25 |
* - :py:obj:`CodeParamType <aiida.cmdline.params.types.code.CodeParamType>` |
| 26 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.code.CodeParamType |
| 27 |
:summary: |
| 28 |
* - :py:obj:`ComputerParamType <aiida.cmdline.params.types.computer.ComputerParamType>` |
| 29 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.computer.ComputerParamType |
| 30 |
:summary: |
| 31 |
* - :py:obj:`ConfigOptionParamType <aiida.cmdline.params.types.config.ConfigOptionParamType>` |
| 32 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.config.ConfigOptionParamType |
| 33 |
:summary: |
| 34 |
* - :py:obj:`DataParamType <aiida.cmdline.params.types.data.DataParamType>` |
| 35 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.data.DataParamType |
| 36 |
:summary: |
| 37 |
* - :py:obj:`DynamicEntryPointCommandGroup <aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup>` |
| 38 |
- .. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup |
| 39 |
:summary: |
| 40 |
* - :py:obj:`EmailType <aiida.cmdline.params.types.strings.EmailType>` |
| 41 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.strings.EmailType |
| 42 |
:summary: |
| 43 |
* - :py:obj:`EntryPointType <aiida.cmdline.params.types.strings.EntryPointType>` |
| 44 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.strings.EntryPointType |
| 45 |
:summary: |
| 46 |
* - :py:obj:`FileOrUrl <aiida.cmdline.params.types.path.FileOrUrl>` |
| 47 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.path.FileOrUrl |
| 48 |
:summary: |
| 49 |
* - :py:obj:`GroupParamType <aiida.cmdline.params.types.group.GroupParamType>` |
| 50 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.group.GroupParamType |
| 51 |
:summary: |
| 52 |
* - :py:obj:`HostnameType <aiida.cmdline.params.types.strings.HostnameType>` |
| 53 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.strings.HostnameType |
| 54 |
:summary: |
| 55 |
* - :py:obj:`IdentifierParamType <aiida.cmdline.params.types.identifier.IdentifierParamType>` |
| 56 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.identifier.IdentifierParamType |
| 57 |
:summary: |
| 58 |
* - :py:obj:`LabelStringType <aiida.cmdline.params.types.strings.LabelStringType>` |
| 59 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.strings.LabelStringType |
| 60 |
:summary: |
| 61 |
* - :py:obj:`LazyChoice <aiida.cmdline.params.types.choice.LazyChoice>` |
| 62 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice |
| 63 |
:summary: |
| 64 |
* - :py:obj:`MpirunCommandParamType <aiida.cmdline.params.types.computer.MpirunCommandParamType>` |
| 65 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.computer.MpirunCommandParamType |
| 66 |
:summary: |
| 67 |
* - :py:obj:`MultipleValueParamType <aiida.cmdline.params.types.multiple.MultipleValueParamType>` |
| 68 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.multiple.MultipleValueParamType |
| 69 |
:summary: |
| 70 |
* - :py:obj:`NodeParamType <aiida.cmdline.params.types.node.NodeParamType>` |
| 71 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.node.NodeParamType |
| 72 |
:summary: |
| 73 |
* - :py:obj:`NonEmptyStringParamType <aiida.cmdline.params.types.strings.NonEmptyStringParamType>` |
| 74 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.strings.NonEmptyStringParamType |
| 75 |
:summary: |
| 76 |
* - :py:obj:`PathOrUrl <aiida.cmdline.params.types.path.PathOrUrl>` |
| 77 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.path.PathOrUrl |
| 78 |
:summary: |
| 79 |
* - :py:obj:`PluginParamType <aiida.cmdline.params.types.plugin.PluginParamType>` |
| 80 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType |
| 81 |
:summary: |
| 82 |
* - :py:obj:`ProcessParamType <aiida.cmdline.params.types.process.ProcessParamType>` |
| 83 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.process.ProcessParamType |
| 84 |
:summary: |
| 85 |
* - :py:obj:`ProfileParamType <aiida.cmdline.params.types.profile.ProfileParamType>` |
| 86 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.profile.ProfileParamType |
| 87 |
:summary: |
| 88 |
* - :py:obj:`ShebangParamType <aiida.cmdline.params.types.computer.ShebangParamType>` |
| 89 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.computer.ShebangParamType |
| 90 |
:summary: |
| 91 |
* - :py:obj:`UserParamType <aiida.cmdline.params.types.user.UserParamType>` |
| 92 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.user.UserParamType |
| 93 |
:summary: |
| 94 |
* - :py:obj:`VerdiCommandGroup <aiida.cmdline.groups.verdi.VerdiCommandGroup>` |
| 95 |
- .. autodoc2-docstring:: aiida.cmdline.groups.verdi.VerdiCommandGroup |
| 96 |
:summary: |
| 97 |
* - :py:obj:`WorkflowParamType <aiida.cmdline.params.types.workflow.WorkflowParamType>` |
| 98 |
- .. autodoc2-docstring:: aiida.cmdline.params.types.workflow.WorkflowParamType |
| 99 |
:summary: |
| 100 |
|
| 101 |
Functions |
| 102 |
~~~~~~~~~ |
| 103 |
|
| 104 |
.. list-table:: |
| 105 |
:class: autosummary longtable |
| 106 |
:align: left |
| 107 |
|
| 108 |
* - :py:obj:`dbenv <aiida.cmdline.utils.decorators.dbenv>` |
| 109 |
- .. autodoc2-docstring:: aiida.cmdline.utils.decorators.dbenv |
| 110 |
:summary: |
| 111 |
* - :py:obj:`echo_critical <aiida.cmdline.utils.echo.echo_critical>` |
| 112 |
- .. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_critical |
| 113 |
:summary: |
| 114 |
* - :py:obj:`echo_dictionary <aiida.cmdline.utils.echo.echo_dictionary>` |
| 115 |
- .. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_dictionary |
| 116 |
:summary: |
| 117 |
* - :py:obj:`echo_error <aiida.cmdline.utils.echo.echo_error>` |
| 118 |
- .. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_error |
| 119 |
:summary: |
| 120 |
* - :py:obj:`echo_info <aiida.cmdline.utils.echo.echo_info>` |
| 121 |
- .. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_info |
| 122 |
:summary: |
| 123 |
* - :py:obj:`echo_report <aiida.cmdline.utils.echo.echo_report>` |
| 124 |
- .. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_report |
| 125 |
:summary: |
| 126 |
* - :py:obj:`echo_success <aiida.cmdline.utils.echo.echo_success>` |
| 127 |
- .. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_success |
| 128 |
:summary: |
| 129 |
* - :py:obj:`echo_warning <aiida.cmdline.utils.echo.echo_warning>` |
| 130 |
- .. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_warning |
| 131 |
:summary: |
| 132 |
* - :py:obj:`format_call_graph <aiida.cmdline.utils.ascii_vis.format_call_graph>` |
| 133 |
- .. autodoc2-docstring:: aiida.cmdline.utils.ascii_vis.format_call_graph |
| 134 |
:summary: |
| 135 |
* - :py:obj:`is_verbose <aiida.cmdline.utils.common.is_verbose>` |
| 136 |
- .. autodoc2-docstring:: aiida.cmdline.utils.common.is_verbose |
| 137 |
:summary: |
| 138 |
* - :py:obj:`only_if_daemon_running <aiida.cmdline.utils.decorators.only_if_daemon_running>` |
| 139 |
- .. autodoc2-docstring:: aiida.cmdline.utils.decorators.only_if_daemon_running |
| 140 |
:summary: |
| 141 |
* - :py:obj:`with_dbenv <aiida.cmdline.utils.decorators.with_dbenv>` |
| 142 |
- .. autodoc2-docstring:: aiida.cmdline.utils.decorators.with_dbenv |
| 143 |
:summary: |
| 144 |
|
| 145 |
API |
| 146 |
~~~ |
| 147 |
|
| 148 |
.. py:class:: AbsolutePathParamType |
| 149 |
:canonical: aiida.cmdline.params.types.path.AbsolutePathParamType |
| 150 |
|
| 151 |
Bases: :py:obj:`click.Path` |
| 152 |
|
| 153 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.AbsolutePathParamType |
| 154 |
|
| 155 |
.. py:attribute:: name |
| 156 |
:canonical: aiida.cmdline.params.types.path.AbsolutePathParamType.name |
| 157 |
:value: 'AbsolutePath' |
| 158 |
|
| 159 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.AbsolutePathParamType.name |
| 160 |
|
| 161 |
.. py:method:: convert(value, param, ctx) |
| 162 |
:canonical: aiida.cmdline.params.types.path.AbsolutePathParamType.convert |
| 163 |
|
| 164 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.AbsolutePathParamType.convert |
| 165 |
|
| 166 |
.. py:method:: __repr__() |
| 167 |
:canonical: aiida.cmdline.params.types.path.AbsolutePathParamType.__repr__ |
| 168 |
|
| 169 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.AbsolutePathParamType.__repr__ |
| 170 |
|
| 171 |
.. py:class:: CalculationParamType |
| 172 |
:canonical: aiida.cmdline.params.types.calculation.CalculationParamType |
| 173 |
|
| 174 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 175 |
|
| 176 |
.. autodoc2-docstring:: aiida.cmdline.params.types.calculation.CalculationParamType |
| 177 |
|
| 178 |
.. py:attribute:: name |
| 179 |
:canonical: aiida.cmdline.params.types.calculation.CalculationParamType.name |
| 180 |
:value: 'Calculation' |
| 181 |
|
| 182 |
.. autodoc2-docstring:: aiida.cmdline.params.types.calculation.CalculationParamType.name |
| 183 |
|
| 184 |
.. py:property:: orm_class_loader |
| 185 |
:canonical: aiida.cmdline.params.types.calculation.CalculationParamType.orm_class_loader |
| 186 |
|
| 187 |
.. autodoc2-docstring:: aiida.cmdline.params.types.calculation.CalculationParamType.orm_class_loader |
| 188 |
|
| 189 |
.. py:class:: CodeParamType(sub_classes=None, entry_point=None) |
| 190 |
:canonical: aiida.cmdline.params.types.code.CodeParamType |
| 191 |
|
| 192 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 193 |
|
| 194 |
.. autodoc2-docstring:: aiida.cmdline.params.types.code.CodeParamType |
| 195 |
|
| 196 |
.. rubric:: Initialization |
| 197 |
|
| 198 |
.. autodoc2-docstring:: aiida.cmdline.params.types.code.CodeParamType.__init__ |
| 199 |
|
| 200 |
.. py:attribute:: name |
| 201 |
:canonical: aiida.cmdline.params.types.code.CodeParamType.name |
| 202 |
:value: 'Code' |
| 203 |
|
| 204 |
.. autodoc2-docstring:: aiida.cmdline.params.types.code.CodeParamType.name |
| 205 |
|
| 206 |
.. py:property:: orm_class_loader |
| 207 |
:canonical: aiida.cmdline.params.types.code.CodeParamType.orm_class_loader |
| 208 |
|
| 209 |
.. autodoc2-docstring:: aiida.cmdline.params.types.code.CodeParamType.orm_class_loader |
| 210 |
|
| 211 |
.. py:method:: shell_complete(ctx, param, incomplete) |
| 212 |
:canonical: aiida.cmdline.params.types.code.CodeParamType.shell_complete |
| 213 |
|
| 214 |
.. autodoc2-docstring:: aiida.cmdline.params.types.code.CodeParamType.shell_complete |
| 215 |
|
| 216 |
.. py:method:: convert(value, param, ctx) |
| 217 |
:canonical: aiida.cmdline.params.types.code.CodeParamType.convert |
| 218 |
|
| 219 |
.. autodoc2-docstring:: aiida.cmdline.params.types.code.CodeParamType.convert |
| 220 |
|
| 221 |
.. py:class:: ComputerParamType |
| 222 |
:canonical: aiida.cmdline.params.types.computer.ComputerParamType |
| 223 |
|
| 224 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 225 |
|
| 226 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ComputerParamType |
| 227 |
|
| 228 |
.. py:attribute:: name |
| 229 |
:canonical: aiida.cmdline.params.types.computer.ComputerParamType.name |
| 230 |
:value: 'Computer' |
| 231 |
|
| 232 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ComputerParamType.name |
| 233 |
|
| 234 |
.. py:property:: orm_class_loader |
| 235 |
:canonical: aiida.cmdline.params.types.computer.ComputerParamType.orm_class_loader |
| 236 |
|
| 237 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ComputerParamType.orm_class_loader |
| 238 |
|
| 239 |
.. py:method:: shell_complete(ctx, param, incomplete) |
| 240 |
:canonical: aiida.cmdline.params.types.computer.ComputerParamType.shell_complete |
| 241 |
|
| 242 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ComputerParamType.shell_complete |
| 243 |
|
| 244 |
.. py:class:: ConfigOptionParamType |
| 245 |
:canonical: aiida.cmdline.params.types.config.ConfigOptionParamType |
| 246 |
|
| 247 |
Bases: :py:obj:`click.types.StringParamType` |
| 248 |
|
| 249 |
.. autodoc2-docstring:: aiida.cmdline.params.types.config.ConfigOptionParamType |
| 250 |
|
| 251 |
.. py:attribute:: name |
| 252 |
:canonical: aiida.cmdline.params.types.config.ConfigOptionParamType.name |
| 253 |
:value: 'config option' |
| 254 |
|
| 255 |
.. autodoc2-docstring:: aiida.cmdline.params.types.config.ConfigOptionParamType.name |
| 256 |
|
| 257 |
.. py:method:: convert(value, param, ctx) |
| 258 |
:canonical: aiida.cmdline.params.types.config.ConfigOptionParamType.convert |
| 259 |
|
| 260 |
.. autodoc2-docstring:: aiida.cmdline.params.types.config.ConfigOptionParamType.convert |
| 261 |
|
| 262 |
.. py:method:: shell_complete(ctx, param, incomplete) |
| 263 |
:canonical: aiida.cmdline.params.types.config.ConfigOptionParamType.shell_complete |
| 264 |
|
| 265 |
.. autodoc2-docstring:: aiida.cmdline.params.types.config.ConfigOptionParamType.shell_complete |
| 266 |
|
| 267 |
.. py:class:: DataParamType(sub_classes=None) |
| 268 |
:canonical: aiida.cmdline.params.types.data.DataParamType |
| 269 |
|
| 270 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 271 |
|
| 272 |
.. autodoc2-docstring:: aiida.cmdline.params.types.data.DataParamType |
| 273 |
|
| 274 |
.. rubric:: Initialization |
| 275 |
|
| 276 |
.. autodoc2-docstring:: aiida.cmdline.params.types.data.DataParamType.__init__ |
| 277 |
|
| 278 |
.. py:attribute:: name |
| 279 |
:canonical: aiida.cmdline.params.types.data.DataParamType.name |
| 280 |
:value: 'Data' |
| 281 |
|
| 282 |
.. autodoc2-docstring:: aiida.cmdline.params.types.data.DataParamType.name |
| 283 |
|
| 284 |
.. py:property:: orm_class_loader |
| 285 |
:canonical: aiida.cmdline.params.types.data.DataParamType.orm_class_loader |
| 286 |
|
| 287 |
.. autodoc2-docstring:: aiida.cmdline.params.types.data.DataParamType.orm_class_loader |
| 288 |
|
| 289 |
.. py:class:: DynamicEntryPointCommandGroup(command, entry_point_group: str, entry_point_name_filter='.*', **kwargs) |
| 290 |
:canonical: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup |
| 291 |
|
| 292 |
Bases: :py:obj:`aiida.cmdline.groups.verdi.VerdiCommandGroup` |
| 293 |
|
| 294 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup |
| 295 |
|
| 296 |
.. rubric:: Initialization |
| 297 |
|
| 298 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.__init__ |
| 299 |
|
| 300 |
.. py:method:: list_commands(ctx) -> list[str] |
| 301 |
:canonical: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.list_commands |
| 302 |
|
| 303 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.list_commands |
| 304 |
|
| 305 |
.. py:method:: get_command(ctx, cmd_name) |
| 306 |
:canonical: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.get_command |
| 307 |
|
| 308 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.get_command |
| 309 |
|
| 310 |
.. py:method:: create_command(entry_point) |
| 311 |
:canonical: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.create_command |
| 312 |
|
| 313 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.create_command |
| 314 |
|
| 315 |
.. py:method:: create_options(entry_point) |
| 316 |
:canonical: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.create_options |
| 317 |
|
| 318 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.create_options |
| 319 |
|
| 320 |
.. py:method:: list_options(entry_point) |
| 321 |
:canonical: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.list_options |
| 322 |
|
| 323 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.list_options |
| 324 |
|
| 325 |
.. py:method:: create_option(name, spec) |
| 326 |
:canonical: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.create_option |
| 327 |
:staticmethod: |
| 328 |
|
| 329 |
.. autodoc2-docstring:: aiida.cmdline.groups.dynamic.DynamicEntryPointCommandGroup.create_option |
| 330 |
|
| 331 |
.. py:class:: EmailType |
| 332 |
:canonical: aiida.cmdline.params.types.strings.EmailType |
| 333 |
|
| 334 |
Bases: :py:obj:`click.types.StringParamType` |
| 335 |
|
| 336 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EmailType |
| 337 |
|
| 338 |
.. py:attribute:: name |
| 339 |
:canonical: aiida.cmdline.params.types.strings.EmailType.name |
| 340 |
:value: 'email' |
| 341 |
|
| 342 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EmailType.name |
| 343 |
|
| 344 |
.. py:method:: convert(value, param, ctx) |
| 345 |
:canonical: aiida.cmdline.params.types.strings.EmailType.convert |
| 346 |
|
| 347 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EmailType.convert |
| 348 |
|
| 349 |
.. py:method:: __repr__() |
| 350 |
:canonical: aiida.cmdline.params.types.strings.EmailType.__repr__ |
| 351 |
|
| 352 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EmailType.__repr__ |
| 353 |
|
| 354 |
.. py:class:: EntryPointType |
| 355 |
:canonical: aiida.cmdline.params.types.strings.EntryPointType |
| 356 |
|
| 357 |
Bases: :py:obj:`aiida.cmdline.params.types.strings.NonEmptyStringParamType` |
| 358 |
|
| 359 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EntryPointType |
| 360 |
|
| 361 |
.. py:attribute:: name |
| 362 |
:canonical: aiida.cmdline.params.types.strings.EntryPointType.name |
| 363 |
:value: 'entrypoint' |
| 364 |
|
| 365 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EntryPointType.name |
| 366 |
|
| 367 |
.. py:method:: convert(value, param, ctx) |
| 368 |
:canonical: aiida.cmdline.params.types.strings.EntryPointType.convert |
| 369 |
|
| 370 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EntryPointType.convert |
| 371 |
|
| 372 |
.. py:method:: __repr__() |
| 373 |
:canonical: aiida.cmdline.params.types.strings.EntryPointType.__repr__ |
| 374 |
|
| 375 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.EntryPointType.__repr__ |
| 376 |
|
| 377 |
.. py:class:: FileOrUrl(timeout_seconds=URL_TIMEOUT_SECONDS, **kwargs) |
| 378 |
:canonical: aiida.cmdline.params.types.path.FileOrUrl |
| 379 |
|
| 380 |
Bases: :py:obj:`click.File` |
| 381 |
|
| 382 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.FileOrUrl |
| 383 |
|
| 384 |
.. rubric:: Initialization |
| 385 |
|
| 386 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.FileOrUrl.__init__ |
| 387 |
|
| 388 |
.. py:attribute:: name |
| 389 |
:canonical: aiida.cmdline.params.types.path.FileOrUrl.name |
| 390 |
:value: 'FileOrUrl' |
| 391 |
|
| 392 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.FileOrUrl.name |
| 393 |
|
| 394 |
.. py:method:: convert(value, param, ctx) |
| 395 |
:canonical: aiida.cmdline.params.types.path.FileOrUrl.convert |
| 396 |
|
| 397 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.FileOrUrl.convert |
| 398 |
|
| 399 |
.. py:method:: get_url(url, param, ctx) |
| 400 |
:canonical: aiida.cmdline.params.types.path.FileOrUrl.get_url |
| 401 |
|
| 402 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.FileOrUrl.get_url |
| 403 |
|
| 404 |
.. py:class:: GroupParamType(create_if_not_exist=False, sub_classes=('aiida.groups:core', )) |
| 405 |
:canonical: aiida.cmdline.params.types.group.GroupParamType |
| 406 |
|
| 407 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 408 |
|
| 409 |
.. autodoc2-docstring:: aiida.cmdline.params.types.group.GroupParamType |
| 410 |
|
| 411 |
.. rubric:: Initialization |
| 412 |
|
| 413 |
.. autodoc2-docstring:: aiida.cmdline.params.types.group.GroupParamType.__init__ |
| 414 |
|
| 415 |
.. py:attribute:: name |
| 416 |
:canonical: aiida.cmdline.params.types.group.GroupParamType.name |
| 417 |
:value: 'Group' |
| 418 |
|
| 419 |
.. autodoc2-docstring:: aiida.cmdline.params.types.group.GroupParamType.name |
| 420 |
|
| 421 |
.. py:property:: orm_class_loader |
| 422 |
:canonical: aiida.cmdline.params.types.group.GroupParamType.orm_class_loader |
| 423 |
|
| 424 |
.. autodoc2-docstring:: aiida.cmdline.params.types.group.GroupParamType.orm_class_loader |
| 425 |
|
| 426 |
.. py:method:: shell_complete(ctx, param, incomplete) |
| 427 |
:canonical: aiida.cmdline.params.types.group.GroupParamType.shell_complete |
| 428 |
|
| 429 |
.. autodoc2-docstring:: aiida.cmdline.params.types.group.GroupParamType.shell_complete |
| 430 |
|
| 431 |
.. py:method:: convert(value, param, ctx) |
| 432 |
:canonical: aiida.cmdline.params.types.group.GroupParamType.convert |
| 433 |
|
| 434 |
.. autodoc2-docstring:: aiida.cmdline.params.types.group.GroupParamType.convert |
| 435 |
|
| 436 |
.. py:class:: HostnameType |
| 437 |
:canonical: aiida.cmdline.params.types.strings.HostnameType |
| 438 |
|
| 439 |
Bases: :py:obj:`click.types.StringParamType` |
| 440 |
|
| 441 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.HostnameType |
| 442 |
|
| 443 |
.. py:attribute:: name |
| 444 |
:canonical: aiida.cmdline.params.types.strings.HostnameType.name |
| 445 |
:value: 'hostname' |
| 446 |
|
| 447 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.HostnameType.name |
| 448 |
|
| 449 |
.. py:method:: convert(value, param, ctx) |
| 450 |
:canonical: aiida.cmdline.params.types.strings.HostnameType.convert |
| 451 |
|
| 452 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.HostnameType.convert |
| 453 |
|
| 454 |
.. py:method:: __repr__() |
| 455 |
:canonical: aiida.cmdline.params.types.strings.HostnameType.__repr__ |
| 456 |
|
| 457 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.HostnameType.__repr__ |
| 458 |
|
| 459 |
.. py:class:: IdentifierParamType(sub_classes=None) |
| 460 |
:canonical: aiida.cmdline.params.types.identifier.IdentifierParamType |
| 461 |
|
| 462 |
Bases: :py:obj:`click.ParamType`, :py:obj:`abc.ABC` |
| 463 |
|
| 464 |
.. autodoc2-docstring:: aiida.cmdline.params.types.identifier.IdentifierParamType |
| 465 |
|
| 466 |
.. rubric:: Initialization |
| 467 |
|
| 468 |
.. autodoc2-docstring:: aiida.cmdline.params.types.identifier.IdentifierParamType.__init__ |
| 469 |
|
| 470 |
.. py:property:: orm_class_loader |
| 471 |
:canonical: aiida.cmdline.params.types.identifier.IdentifierParamType.orm_class_loader |
| 472 |
:abstractmethod: |
| 473 |
|
| 474 |
.. autodoc2-docstring:: aiida.cmdline.params.types.identifier.IdentifierParamType.orm_class_loader |
| 475 |
|
| 476 |
.. py:method:: convert(value, param, ctx) |
| 477 |
:canonical: aiida.cmdline.params.types.identifier.IdentifierParamType.convert |
| 478 |
|
| 479 |
.. autodoc2-docstring:: aiida.cmdline.params.types.identifier.IdentifierParamType.convert |
| 480 |
|
| 481 |
.. py:class:: LabelStringType |
| 482 |
:canonical: aiida.cmdline.params.types.strings.LabelStringType |
| 483 |
|
| 484 |
Bases: :py:obj:`aiida.cmdline.params.types.strings.NonEmptyStringParamType` |
| 485 |
|
| 486 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.LabelStringType |
| 487 |
|
| 488 |
.. py:attribute:: name |
| 489 |
:canonical: aiida.cmdline.params.types.strings.LabelStringType.name |
| 490 |
:value: 'labelstring' |
| 491 |
|
| 492 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.LabelStringType.name |
| 493 |
|
| 494 |
.. py:attribute:: ALPHABET |
| 495 |
:canonical: aiida.cmdline.params.types.strings.LabelStringType.ALPHABET |
| 496 |
:value: '\\w\\.\\-' |
| 497 |
|
| 498 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.LabelStringType.ALPHABET |
| 499 |
|
| 500 |
.. py:method:: convert(value, param, ctx) |
| 501 |
:canonical: aiida.cmdline.params.types.strings.LabelStringType.convert |
| 502 |
|
| 503 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.LabelStringType.convert |
| 504 |
|
| 505 |
.. py:method:: __repr__() |
| 506 |
:canonical: aiida.cmdline.params.types.strings.LabelStringType.__repr__ |
| 507 |
|
| 508 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.LabelStringType.__repr__ |
| 509 |
|
| 510 |
.. py:class:: LazyChoice(get_choices) |
| 511 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice |
| 512 |
|
| 513 |
Bases: :py:obj:`click.ParamType` |
| 514 |
|
| 515 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice |
| 516 |
|
| 517 |
.. rubric:: Initialization |
| 518 |
|
| 519 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice.__init__ |
| 520 |
|
| 521 |
.. py:attribute:: name |
| 522 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice.name |
| 523 |
:value: 'choice' |
| 524 |
|
| 525 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice.name |
| 526 |
|
| 527 |
.. py:property:: _click_choice |
| 528 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice._click_choice |
| 529 |
|
| 530 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice._click_choice |
| 531 |
|
| 532 |
.. py:property:: choices |
| 533 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice.choices |
| 534 |
|
| 535 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice.choices |
| 536 |
|
| 537 |
.. py:method:: get_metavar(param) |
| 538 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice.get_metavar |
| 539 |
|
| 540 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice.get_metavar |
| 541 |
|
| 542 |
.. py:method:: get_missing_message(param) |
| 543 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice.get_missing_message |
| 544 |
|
| 545 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice.get_missing_message |
| 546 |
|
| 547 |
.. py:method:: convert(value, param, ctx) |
| 548 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice.convert |
| 549 |
|
| 550 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice.convert |
| 551 |
|
| 552 |
.. py:method:: __repr__() |
| 553 |
:canonical: aiida.cmdline.params.types.choice.LazyChoice.__repr__ |
| 554 |
|
| 555 |
.. autodoc2-docstring:: aiida.cmdline.params.types.choice.LazyChoice.__repr__ |
| 556 |
|
| 557 |
.. py:class:: MpirunCommandParamType |
| 558 |
:canonical: aiida.cmdline.params.types.computer.MpirunCommandParamType |
| 559 |
|
| 560 |
Bases: :py:obj:`click.types.StringParamType` |
| 561 |
|
| 562 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.MpirunCommandParamType |
| 563 |
|
| 564 |
.. py:attribute:: name |
| 565 |
:canonical: aiida.cmdline.params.types.computer.MpirunCommandParamType.name |
| 566 |
:value: 'mpiruncommandstring' |
| 567 |
|
| 568 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.MpirunCommandParamType.name |
| 569 |
|
| 570 |
.. py:method:: __repr__() |
| 571 |
:canonical: aiida.cmdline.params.types.computer.MpirunCommandParamType.__repr__ |
| 572 |
|
| 573 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.MpirunCommandParamType.__repr__ |
| 574 |
|
| 575 |
.. py:method:: convert(value, param, ctx) |
| 576 |
:canonical: aiida.cmdline.params.types.computer.MpirunCommandParamType.convert |
| 577 |
|
| 578 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.MpirunCommandParamType.convert |
| 579 |
|
| 580 |
.. py:class:: MultipleValueParamType(param_type) |
| 581 |
:canonical: aiida.cmdline.params.types.multiple.MultipleValueParamType |
| 582 |
|
| 583 |
Bases: :py:obj:`click.ParamType` |
| 584 |
|
| 585 |
.. autodoc2-docstring:: aiida.cmdline.params.types.multiple.MultipleValueParamType |
| 586 |
|
| 587 |
.. rubric:: Initialization |
| 588 |
|
| 589 |
.. autodoc2-docstring:: aiida.cmdline.params.types.multiple.MultipleValueParamType.__init__ |
| 590 |
|
| 591 |
.. py:method:: get_metavar(param) |
| 592 |
:canonical: aiida.cmdline.params.types.multiple.MultipleValueParamType.get_metavar |
| 593 |
|
| 594 |
.. autodoc2-docstring:: aiida.cmdline.params.types.multiple.MultipleValueParamType.get_metavar |
| 595 |
|
| 596 |
.. py:method:: convert(value, param, ctx) |
| 597 |
:canonical: aiida.cmdline.params.types.multiple.MultipleValueParamType.convert |
| 598 |
|
| 599 |
.. autodoc2-docstring:: aiida.cmdline.params.types.multiple.MultipleValueParamType.convert |
| 600 |
|
| 601 |
.. py:class:: NodeParamType |
| 602 |
:canonical: aiida.cmdline.params.types.node.NodeParamType |
| 603 |
|
| 604 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 605 |
|
| 606 |
.. autodoc2-docstring:: aiida.cmdline.params.types.node.NodeParamType |
| 607 |
|
| 608 |
.. py:attribute:: name |
| 609 |
:canonical: aiida.cmdline.params.types.node.NodeParamType.name |
| 610 |
:value: 'Node' |
| 611 |
|
| 612 |
.. autodoc2-docstring:: aiida.cmdline.params.types.node.NodeParamType.name |
| 613 |
|
| 614 |
.. py:property:: orm_class_loader |
| 615 |
:canonical: aiida.cmdline.params.types.node.NodeParamType.orm_class_loader |
| 616 |
|
| 617 |
.. autodoc2-docstring:: aiida.cmdline.params.types.node.NodeParamType.orm_class_loader |
| 618 |
|
| 619 |
.. py:class:: NonEmptyStringParamType |
| 620 |
:canonical: aiida.cmdline.params.types.strings.NonEmptyStringParamType |
| 621 |
|
| 622 |
Bases: :py:obj:`click.types.StringParamType` |
| 623 |
|
| 624 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.NonEmptyStringParamType |
| 625 |
|
| 626 |
.. py:attribute:: name |
| 627 |
:canonical: aiida.cmdline.params.types.strings.NonEmptyStringParamType.name |
| 628 |
:value: 'nonemptystring' |
| 629 |
|
| 630 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.NonEmptyStringParamType.name |
| 631 |
|
| 632 |
.. py:method:: convert(value, param, ctx) |
| 633 |
:canonical: aiida.cmdline.params.types.strings.NonEmptyStringParamType.convert |
| 634 |
|
| 635 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.NonEmptyStringParamType.convert |
| 636 |
|
| 637 |
.. py:method:: __repr__() |
| 638 |
:canonical: aiida.cmdline.params.types.strings.NonEmptyStringParamType.__repr__ |
| 639 |
|
| 640 |
.. autodoc2-docstring:: aiida.cmdline.params.types.strings.NonEmptyStringParamType.__repr__ |
| 641 |
|
| 642 |
.. py:class:: PathOrUrl(timeout_seconds=URL_TIMEOUT_SECONDS, **kwargs) |
| 643 |
:canonical: aiida.cmdline.params.types.path.PathOrUrl |
| 644 |
|
| 645 |
Bases: :py:obj:`click.Path` |
| 646 |
|
| 647 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.PathOrUrl |
| 648 |
|
| 649 |
.. rubric:: Initialization |
| 650 |
|
| 651 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.PathOrUrl.__init__ |
| 652 |
|
| 653 |
.. py:attribute:: name |
| 654 |
:canonical: aiida.cmdline.params.types.path.PathOrUrl.name |
| 655 |
:value: 'PathOrUrl' |
| 656 |
|
| 657 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.PathOrUrl.name |
| 658 |
|
| 659 |
.. py:method:: convert(value, param, ctx) |
| 660 |
:canonical: aiida.cmdline.params.types.path.PathOrUrl.convert |
| 661 |
|
| 662 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.PathOrUrl.convert |
| 663 |
|
| 664 |
.. py:method:: checks_url(url, param, ctx) |
| 665 |
:canonical: aiida.cmdline.params.types.path.PathOrUrl.checks_url |
| 666 |
|
| 667 |
.. autodoc2-docstring:: aiida.cmdline.params.types.path.PathOrUrl.checks_url |
| 668 |
|
| 669 |
.. py:class:: PluginParamType(group=None, load=False, *args, **kwargs) |
| 670 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType |
| 671 |
|
| 672 |
Bases: :py:obj:`aiida.cmdline.params.types.strings.EntryPointType` |
| 673 |
|
| 674 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType |
| 675 |
|
| 676 |
.. rubric:: Initialization |
| 677 |
|
| 678 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.__init__ |
| 679 |
|
| 680 |
.. py:attribute:: name |
| 681 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.name |
| 682 |
:value: 'plugin' |
| 683 |
|
| 684 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.name |
| 685 |
|
| 686 |
.. py:attribute:: _factory_mapping |
| 687 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType._factory_mapping |
| 688 |
:value: None |
| 689 |
|
| 690 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType._factory_mapping |
| 691 |
|
| 692 |
.. py:method:: _init_entry_points() |
| 693 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType._init_entry_points |
| 694 |
|
| 695 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType._init_entry_points |
| 696 |
|
| 697 |
.. py:property:: groups |
| 698 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.groups |
| 699 |
|
| 700 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.groups |
| 701 |
|
| 702 |
.. py:property:: has_potential_ambiguity |
| 703 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.has_potential_ambiguity |
| 704 |
|
| 705 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.has_potential_ambiguity |
| 706 |
|
| 707 |
.. py:method:: get_valid_arguments() |
| 708 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.get_valid_arguments |
| 709 |
|
| 710 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.get_valid_arguments |
| 711 |
|
| 712 |
.. py:method:: get_possibilities(incomplete='') |
| 713 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.get_possibilities |
| 714 |
|
| 715 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.get_possibilities |
| 716 |
|
| 717 |
.. py:method:: shell_complete(ctx, param, incomplete) |
| 718 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.shell_complete |
| 719 |
|
| 720 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.shell_complete |
| 721 |
|
| 722 |
.. py:method:: get_missing_message(param) |
| 723 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.get_missing_message |
| 724 |
|
| 725 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.get_missing_message |
| 726 |
|
| 727 |
.. py:method:: get_entry_point_from_string(entry_point_string) |
| 728 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.get_entry_point_from_string |
| 729 |
|
| 730 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.get_entry_point_from_string |
| 731 |
|
| 732 |
.. py:method:: validate_entry_point_group(group) |
| 733 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.validate_entry_point_group |
| 734 |
|
| 735 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.validate_entry_point_group |
| 736 |
|
| 737 |
.. py:method:: convert(value, param, ctx) |
| 738 |
:canonical: aiida.cmdline.params.types.plugin.PluginParamType.convert |
| 739 |
|
| 740 |
.. autodoc2-docstring:: aiida.cmdline.params.types.plugin.PluginParamType.convert |
| 741 |
|
| 742 |
.. py:class:: ProcessParamType |
| 743 |
:canonical: aiida.cmdline.params.types.process.ProcessParamType |
| 744 |
|
| 745 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 746 |
|
| 747 |
.. autodoc2-docstring:: aiida.cmdline.params.types.process.ProcessParamType |
| 748 |
|
| 749 |
.. py:attribute:: name |
| 750 |
:canonical: aiida.cmdline.params.types.process.ProcessParamType.name |
| 751 |
:value: 'Process' |
| 752 |
|
| 753 |
.. autodoc2-docstring:: aiida.cmdline.params.types.process.ProcessParamType.name |
| 754 |
|
| 755 |
.. py:property:: orm_class_loader |
| 756 |
:canonical: aiida.cmdline.params.types.process.ProcessParamType.orm_class_loader |
| 757 |
|
| 758 |
.. autodoc2-docstring:: aiida.cmdline.params.types.process.ProcessParamType.orm_class_loader |
| 759 |
|
| 760 |
.. py:class:: ProfileParamType(*args, **kwargs) |
| 761 |
:canonical: aiida.cmdline.params.types.profile.ProfileParamType |
| 762 |
|
| 763 |
Bases: :py:obj:`aiida.cmdline.params.types.strings.LabelStringType` |
| 764 |
|
| 765 |
.. autodoc2-docstring:: aiida.cmdline.params.types.profile.ProfileParamType |
| 766 |
|
| 767 |
.. rubric:: Initialization |
| 768 |
|
| 769 |
.. autodoc2-docstring:: aiida.cmdline.params.types.profile.ProfileParamType.__init__ |
| 770 |
|
| 771 |
.. py:attribute:: name |
| 772 |
:canonical: aiida.cmdline.params.types.profile.ProfileParamType.name |
| 773 |
:value: 'profile' |
| 774 |
|
| 775 |
.. autodoc2-docstring:: aiida.cmdline.params.types.profile.ProfileParamType.name |
| 776 |
|
| 777 |
.. py:method:: deconvert_default(value) |
| 778 |
:canonical: aiida.cmdline.params.types.profile.ProfileParamType.deconvert_default |
| 779 |
:staticmethod: |
| 780 |
|
| 781 |
.. autodoc2-docstring:: aiida.cmdline.params.types.profile.ProfileParamType.deconvert_default |
| 782 |
|
| 783 |
.. py:method:: convert(value, param, ctx) |
| 784 |
:canonical: aiida.cmdline.params.types.profile.ProfileParamType.convert |
| 785 |
|
| 786 |
.. autodoc2-docstring:: aiida.cmdline.params.types.profile.ProfileParamType.convert |
| 787 |
|
| 788 |
.. py:method:: shell_complete(ctx, param, incomplete) |
| 789 |
:canonical: aiida.cmdline.params.types.profile.ProfileParamType.shell_complete |
| 790 |
|
| 791 |
.. autodoc2-docstring:: aiida.cmdline.params.types.profile.ProfileParamType.shell_complete |
| 792 |
|
| 793 |
.. py:class:: ShebangParamType |
| 794 |
:canonical: aiida.cmdline.params.types.computer.ShebangParamType |
| 795 |
|
| 796 |
Bases: :py:obj:`click.types.StringParamType` |
| 797 |
|
| 798 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ShebangParamType |
| 799 |
|
| 800 |
.. py:attribute:: name |
| 801 |
:canonical: aiida.cmdline.params.types.computer.ShebangParamType.name |
| 802 |
:value: 'shebangline' |
| 803 |
|
| 804 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ShebangParamType.name |
| 805 |
|
| 806 |
.. py:method:: convert(value, param, ctx) |
| 807 |
:canonical: aiida.cmdline.params.types.computer.ShebangParamType.convert |
| 808 |
|
| 809 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ShebangParamType.convert |
| 810 |
|
| 811 |
.. py:method:: __repr__() |
| 812 |
:canonical: aiida.cmdline.params.types.computer.ShebangParamType.__repr__ |
| 813 |
|
| 814 |
.. autodoc2-docstring:: aiida.cmdline.params.types.computer.ShebangParamType.__repr__ |
| 815 |
|
| 816 |
.. py:class:: UserParamType(create=False) |
| 817 |
:canonical: aiida.cmdline.params.types.user.UserParamType |
| 818 |
|
| 819 |
Bases: :py:obj:`click.ParamType` |
| 820 |
|
| 821 |
.. autodoc2-docstring:: aiida.cmdline.params.types.user.UserParamType |
| 822 |
|
| 823 |
.. rubric:: Initialization |
| 824 |
|
| 825 |
.. autodoc2-docstring:: aiida.cmdline.params.types.user.UserParamType.__init__ |
| 826 |
|
| 827 |
.. py:attribute:: name |
| 828 |
:canonical: aiida.cmdline.params.types.user.UserParamType.name |
| 829 |
:value: 'user' |
| 830 |
|
| 831 |
.. autodoc2-docstring:: aiida.cmdline.params.types.user.UserParamType.name |
| 832 |
|
| 833 |
.. py:method:: convert(value, param, ctx) |
| 834 |
:canonical: aiida.cmdline.params.types.user.UserParamType.convert |
| 835 |
|
| 836 |
.. autodoc2-docstring:: aiida.cmdline.params.types.user.UserParamType.convert |
| 837 |
|
| 838 |
.. py:method:: shell_complete(ctx, param, incomplete) |
| 839 |
:canonical: aiida.cmdline.params.types.user.UserParamType.shell_complete |
| 840 |
|
| 841 |
.. autodoc2-docstring:: aiida.cmdline.params.types.user.UserParamType.shell_complete |
| 842 |
|
| 843 |
.. py:class:: VerdiCommandGroup |
| 844 |
:canonical: aiida.cmdline.groups.verdi.VerdiCommandGroup |
| 845 |
|
| 846 |
Bases: :py:obj:`click.Group` |
| 847 |
|
| 848 |
.. autodoc2-docstring:: aiida.cmdline.groups.verdi.VerdiCommandGroup |
| 849 |
|
| 850 |
.. py:attribute:: context_class |
| 851 |
:canonical: aiida.cmdline.groups.verdi.VerdiCommandGroup.context_class |
| 852 |
:value: None |
| 853 |
|
| 854 |
.. autodoc2-docstring:: aiida.cmdline.groups.verdi.VerdiCommandGroup.context_class |
| 855 |
|
| 856 |
.. py:method:: add_verbosity_option(cmd) |
| 857 |
:canonical: aiida.cmdline.groups.verdi.VerdiCommandGroup.add_verbosity_option |
| 858 |
:staticmethod: |
| 859 |
|
| 860 |
.. autodoc2-docstring:: aiida.cmdline.groups.verdi.VerdiCommandGroup.add_verbosity_option |
| 861 |
|
| 862 |
.. py:method:: fail_with_suggestions(ctx, cmd_name) |
| 863 |
:canonical: aiida.cmdline.groups.verdi.VerdiCommandGroup.fail_with_suggestions |
| 864 |
|
| 865 |
.. autodoc2-docstring:: aiida.cmdline.groups.verdi.VerdiCommandGroup.fail_with_suggestions |
| 866 |
|
| 867 |
.. py:method:: get_command(ctx, cmd_name) |
| 868 |
:canonical: aiida.cmdline.groups.verdi.VerdiCommandGroup.get_command |
| 869 |
|
| 870 |
.. autodoc2-docstring:: aiida.cmdline.groups.verdi.VerdiCommandGroup.get_command |
| 871 |
|
| 872 |
.. py:method:: group(*args, **kwargs) |
| 873 |
:canonical: aiida.cmdline.groups.verdi.VerdiCommandGroup.group |
| 874 |
|
| 875 |
.. autodoc2-docstring:: aiida.cmdline.groups.verdi.VerdiCommandGroup.group |
| 876 |
|
| 877 |
.. py:class:: WorkflowParamType |
| 878 |
:canonical: aiida.cmdline.params.types.workflow.WorkflowParamType |
| 879 |
|
| 880 |
Bases: :py:obj:`aiida.cmdline.params.types.identifier.IdentifierParamType` |
| 881 |
|
| 882 |
.. autodoc2-docstring:: aiida.cmdline.params.types.workflow.WorkflowParamType |
| 883 |
|
| 884 |
.. py:attribute:: name |
| 885 |
:canonical: aiida.cmdline.params.types.workflow.WorkflowParamType.name |
| 886 |
:value: 'WorkflowNode' |
| 887 |
|
| 888 |
.. autodoc2-docstring:: aiida.cmdline.params.types.workflow.WorkflowParamType.name |
| 889 |
|
| 890 |
.. py:property:: orm_class_loader |
| 891 |
:canonical: aiida.cmdline.params.types.workflow.WorkflowParamType.orm_class_loader |
| 892 |
|
| 893 |
.. autodoc2-docstring:: aiida.cmdline.params.types.workflow.WorkflowParamType.orm_class_loader |
| 894 |
|
| 895 |
.. py:function:: dbenv() |
| 896 |
:canonical: aiida.cmdline.utils.decorators.dbenv |
| 897 |
|
| 898 |
.. autodoc2-docstring:: aiida.cmdline.utils.decorators.dbenv |
| 899 |
|
| 900 |
.. py:function:: echo_critical(message: str, bold: bool = False, nl: bool = True, err: bool = True, prefix: bool = True) -> None |
| 901 |
:canonical: aiida.cmdline.utils.echo.echo_critical |
| 902 |
|
| 903 |
.. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_critical |
| 904 |
|
| 905 |
.. py:function:: echo_dictionary(dictionary, fmt='json+date', sort_keys=True) |
| 906 |
:canonical: aiida.cmdline.utils.echo.echo_dictionary |
| 907 |
|
| 908 |
.. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_dictionary |
| 909 |
|
| 910 |
.. py:function:: echo_error(message: str, bold: bool = False, nl: bool = True, err: bool = True, prefix: bool = True) -> None |
| 911 |
:canonical: aiida.cmdline.utils.echo.echo_error |
| 912 |
|
| 913 |
.. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_error |
| 914 |
|
| 915 |
.. py:function:: echo_info(message: str, bold: bool = False, nl: bool = True, err: bool = False, prefix: bool = True) -> None |
| 916 |
:canonical: aiida.cmdline.utils.echo.echo_info |
| 917 |
|
| 918 |
.. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_info |
| 919 |
|
| 920 |
.. py:function:: echo_report(message: str, bold: bool = False, nl: bool = True, err: bool = False, prefix: bool = True) -> None |
| 921 |
:canonical: aiida.cmdline.utils.echo.echo_report |
| 922 |
|
| 923 |
.. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_report |
| 924 |
|
| 925 |
.. py:function:: echo_success(message: str, bold: bool = False, nl: bool = True, err: bool = False, prefix: bool = True) -> None |
| 926 |
:canonical: aiida.cmdline.utils.echo.echo_success |
| 927 |
|
| 928 |
.. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_success |
| 929 |
|
| 930 |
.. py:function:: echo_warning(message: str, bold: bool = False, nl: bool = True, err: bool = False, prefix: bool = True) -> None |
| 931 |
:canonical: aiida.cmdline.utils.echo.echo_warning |
| 932 |
|
| 933 |
.. autodoc2-docstring:: aiida.cmdline.utils.echo.echo_warning |
| 934 |
|
| 935 |
.. py:function:: format_call_graph(calc_node, max_depth: int = None, info_fn=calc_info) |
| 936 |
:canonical: aiida.cmdline.utils.ascii_vis.format_call_graph |
| 937 |
|
| 938 |
.. autodoc2-docstring:: aiida.cmdline.utils.ascii_vis.format_call_graph |
| 939 |
|
| 940 |
.. py:function:: is_verbose() |
| 941 |
:canonical: aiida.cmdline.utils.common.is_verbose |
| 942 |
|
| 943 |
.. autodoc2-docstring:: aiida.cmdline.utils.common.is_verbose |
| 944 |
|
| 945 |
.. py:function:: only_if_daemon_running(echo_function=echo.echo_critical, message=None) |
| 946 |
:canonical: aiida.cmdline.utils.decorators.only_if_daemon_running |
| 947 |
|
| 948 |
.. autodoc2-docstring:: aiida.cmdline.utils.decorators.only_if_daemon_running |
| 949 |
|
| 950 |
.. py:function:: with_dbenv() |
| 951 |
:canonical: aiida.cmdline.utils.decorators.with_dbenv |
| 952 |
|
| 953 |
.. autodoc2-docstring:: aiida.cmdline.utils.decorators.with_dbenv |