| 1 |
:py:mod:`aiida.manage` |
| 2 |
====================== |
| 3 |
|
| 4 |
.. py:module:: aiida.manage |
| 5 |
|
| 6 |
.. autodoc2-docstring:: aiida.manage |
| 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:`Config <aiida.manage.configuration.config.Config>` |
| 20 |
- .. autodoc2-docstring:: aiida.manage.configuration.config.Config |
| 21 |
:summary: |
| 22 |
* - :py:obj:`Option <aiida.manage.configuration.options.Option>` |
| 23 |
- .. autodoc2-docstring:: aiida.manage.configuration.options.Option |
| 24 |
:summary: |
| 25 |
* - :py:obj:`Postgres <aiida.manage.external.postgres.Postgres>` |
| 26 |
- .. autodoc2-docstring:: aiida.manage.external.postgres.Postgres |
| 27 |
:summary: |
| 28 |
* - :py:obj:`ProcessLauncher <aiida.manage.external.rmq.launcher.ProcessLauncher>` |
| 29 |
- .. autodoc2-docstring:: aiida.manage.external.rmq.launcher.ProcessLauncher |
| 30 |
:summary: |
| 31 |
* - :py:obj:`Profile <aiida.manage.configuration.profile.Profile>` |
| 32 |
- .. autodoc2-docstring:: aiida.manage.configuration.profile.Profile |
| 33 |
:summary: |
| 34 |
* - :py:obj:`RabbitmqManagementClient <aiida.manage.external.rmq.client.RabbitmqManagementClient>` |
| 35 |
- .. autodoc2-docstring:: aiida.manage.external.rmq.client.RabbitmqManagementClient |
| 36 |
:summary: |
| 37 |
|
| 38 |
Functions |
| 39 |
~~~~~~~~~ |
| 40 |
|
| 41 |
.. list-table:: |
| 42 |
:class: autosummary longtable |
| 43 |
:align: left |
| 44 |
|
| 45 |
* - :py:obj:`check_and_migrate_config <aiida.manage.configuration.migrations.migrations.check_and_migrate_config>` |
| 46 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.check_and_migrate_config |
| 47 |
:summary: |
| 48 |
* - :py:obj:`config_needs_migrating <aiida.manage.configuration.migrations.migrations.config_needs_migrating>` |
| 49 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.config_needs_migrating |
| 50 |
:summary: |
| 51 |
* - :py:obj:`config_schema <aiida.manage.configuration.config.config_schema>` |
| 52 |
- .. autodoc2-docstring:: aiida.manage.configuration.config.config_schema |
| 53 |
:summary: |
| 54 |
* - :py:obj:`disable_caching <aiida.manage.caching.disable_caching>` |
| 55 |
- .. autodoc2-docstring:: aiida.manage.caching.disable_caching |
| 56 |
:summary: |
| 57 |
* - :py:obj:`downgrade_config <aiida.manage.configuration.migrations.migrations.downgrade_config>` |
| 58 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.downgrade_config |
| 59 |
:summary: |
| 60 |
* - :py:obj:`enable_caching <aiida.manage.caching.enable_caching>` |
| 61 |
- .. autodoc2-docstring:: aiida.manage.caching.enable_caching |
| 62 |
:summary: |
| 63 |
* - :py:obj:`get_current_version <aiida.manage.configuration.migrations.migrations.get_current_version>` |
| 64 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.get_current_version |
| 65 |
:summary: |
| 66 |
* - :py:obj:`get_launch_queue_name <aiida.manage.external.rmq.utils.get_launch_queue_name>` |
| 67 |
- .. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_launch_queue_name |
| 68 |
:summary: |
| 69 |
* - :py:obj:`get_manager <aiida.manage.manager.get_manager>` |
| 70 |
- .. autodoc2-docstring:: aiida.manage.manager.get_manager |
| 71 |
:summary: |
| 72 |
* - :py:obj:`get_message_exchange_name <aiida.manage.external.rmq.utils.get_message_exchange_name>` |
| 73 |
- .. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_message_exchange_name |
| 74 |
:summary: |
| 75 |
* - :py:obj:`get_option <aiida.manage.configuration.options.get_option>` |
| 76 |
- .. autodoc2-docstring:: aiida.manage.configuration.options.get_option |
| 77 |
:summary: |
| 78 |
* - :py:obj:`get_option_names <aiida.manage.configuration.options.get_option_names>` |
| 79 |
- .. autodoc2-docstring:: aiida.manage.configuration.options.get_option_names |
| 80 |
:summary: |
| 81 |
* - :py:obj:`get_rmq_url <aiida.manage.external.rmq.utils.get_rmq_url>` |
| 82 |
- .. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_rmq_url |
| 83 |
:summary: |
| 84 |
* - :py:obj:`get_task_exchange_name <aiida.manage.external.rmq.utils.get_task_exchange_name>` |
| 85 |
- .. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_task_exchange_name |
| 86 |
:summary: |
| 87 |
* - :py:obj:`get_use_cache <aiida.manage.caching.get_use_cache>` |
| 88 |
- .. autodoc2-docstring:: aiida.manage.caching.get_use_cache |
| 89 |
:summary: |
| 90 |
* - :py:obj:`parse_option <aiida.manage.configuration.options.parse_option>` |
| 91 |
- .. autodoc2-docstring:: aiida.manage.configuration.options.parse_option |
| 92 |
:summary: |
| 93 |
* - :py:obj:`upgrade_config <aiida.manage.configuration.migrations.migrations.upgrade_config>` |
| 94 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.upgrade_config |
| 95 |
:summary: |
| 96 |
|
| 97 |
Data |
| 98 |
~~~~ |
| 99 |
|
| 100 |
.. list-table:: |
| 101 |
:class: autosummary longtable |
| 102 |
:align: left |
| 103 |
|
| 104 |
* - :py:obj:`BROKER_DEFAULTS <aiida.manage.external.rmq.defaults.BROKER_DEFAULTS>` |
| 105 |
- .. autodoc2-docstring:: aiida.manage.external.rmq.defaults.BROKER_DEFAULTS |
| 106 |
:summary: |
| 107 |
* - :py:obj:`CURRENT_CONFIG_VERSION <aiida.manage.configuration.migrations.migrations.CURRENT_CONFIG_VERSION>` |
| 108 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.CURRENT_CONFIG_VERSION |
| 109 |
:summary: |
| 110 |
* - :py:obj:`MIGRATIONS <aiida.manage.configuration.migrations.migrations.MIGRATIONS>` |
| 111 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.MIGRATIONS |
| 112 |
:summary: |
| 113 |
* - :py:obj:`OLDEST_COMPATIBLE_CONFIG_VERSION <aiida.manage.configuration.migrations.migrations.OLDEST_COMPATIBLE_CONFIG_VERSION>` |
| 114 |
- .. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.OLDEST_COMPATIBLE_CONFIG_VERSION |
| 115 |
:summary: |
| 116 |
|
| 117 |
External |
| 118 |
~~~~~~~~ |
| 119 |
|
| 120 |
.. list-table:: |
| 121 |
:class: autosummary longtable |
| 122 |
:align: left |
| 123 |
|
| 124 |
* - :py:obj:`DEFAULT_DSN <pgsu.DEFAULT_DSN>` |
| 125 |
- .. autodoc2-docstring:: pgsu.DEFAULT_DSN |
| 126 |
:summary: |
| 127 |
* - :py:obj:`PostgresConnectionMode <pgsu.PostgresConnectionMode>` |
| 128 |
- .. autodoc2-docstring:: pgsu.PostgresConnectionMode |
| 129 |
:summary: |
| 130 |
|
| 131 |
API |
| 132 |
~~~ |
| 133 |
|
| 134 |
.. py:data:: BROKER_DEFAULTS |
| 135 |
:canonical: aiida.manage.external.rmq.defaults.BROKER_DEFAULTS |
| 136 |
:value: None |
| 137 |
|
| 138 |
.. autodoc2-docstring:: aiida.manage.external.rmq.defaults.BROKER_DEFAULTS |
| 139 |
|
| 140 |
.. py:data:: CURRENT_CONFIG_VERSION |
| 141 |
:canonical: aiida.manage.configuration.migrations.migrations.CURRENT_CONFIG_VERSION |
| 142 |
:value: 9 |
| 143 |
|
| 144 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.CURRENT_CONFIG_VERSION |
| 145 |
|
| 146 |
.. py:class:: Config(filepath: str, config: dict, validate: bool = True) |
| 147 |
:canonical: aiida.manage.configuration.config.Config |
| 148 |
|
| 149 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config |
| 150 |
|
| 151 |
.. rubric:: Initialization |
| 152 |
|
| 153 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.__init__ |
| 154 |
|
| 155 |
.. py:attribute:: KEY_VERSION |
| 156 |
:canonical: aiida.manage.configuration.config.Config.KEY_VERSION |
| 157 |
:value: 'CONFIG_VERSION' |
| 158 |
|
| 159 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.KEY_VERSION |
| 160 |
|
| 161 |
.. py:attribute:: KEY_VERSION_CURRENT |
| 162 |
:canonical: aiida.manage.configuration.config.Config.KEY_VERSION_CURRENT |
| 163 |
:value: 'CURRENT' |
| 164 |
|
| 165 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.KEY_VERSION_CURRENT |
| 166 |
|
| 167 |
.. py:attribute:: KEY_VERSION_OLDEST_COMPATIBLE |
| 168 |
:canonical: aiida.manage.configuration.config.Config.KEY_VERSION_OLDEST_COMPATIBLE |
| 169 |
:value: 'OLDEST_COMPATIBLE' |
| 170 |
|
| 171 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.KEY_VERSION_OLDEST_COMPATIBLE |
| 172 |
|
| 173 |
.. py:attribute:: KEY_DEFAULT_PROFILE |
| 174 |
:canonical: aiida.manage.configuration.config.Config.KEY_DEFAULT_PROFILE |
| 175 |
:value: 'default_profile' |
| 176 |
|
| 177 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.KEY_DEFAULT_PROFILE |
| 178 |
|
| 179 |
.. py:attribute:: KEY_PROFILES |
| 180 |
:canonical: aiida.manage.configuration.config.Config.KEY_PROFILES |
| 181 |
:value: 'profiles' |
| 182 |
|
| 183 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.KEY_PROFILES |
| 184 |
|
| 185 |
.. py:attribute:: KEY_OPTIONS |
| 186 |
:canonical: aiida.manage.configuration.config.Config.KEY_OPTIONS |
| 187 |
:value: 'options' |
| 188 |
|
| 189 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.KEY_OPTIONS |
| 190 |
|
| 191 |
.. py:attribute:: KEY_SCHEMA |
| 192 |
:canonical: aiida.manage.configuration.config.Config.KEY_SCHEMA |
| 193 |
:value: '$schema' |
| 194 |
|
| 195 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.KEY_SCHEMA |
| 196 |
|
| 197 |
.. py:method:: from_file(filepath) |
| 198 |
:canonical: aiida.manage.configuration.config.Config.from_file |
| 199 |
:classmethod: |
| 200 |
|
| 201 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.from_file |
| 202 |
|
| 203 |
.. py:method:: _backup(filepath) |
| 204 |
:canonical: aiida.manage.configuration.config.Config._backup |
| 205 |
:classmethod: |
| 206 |
|
| 207 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config._backup |
| 208 |
|
| 209 |
.. py:method:: validate(config: dict, filepath: typing.Optional[str] = None) |
| 210 |
:canonical: aiida.manage.configuration.config.Config.validate |
| 211 |
:staticmethod: |
| 212 |
|
| 213 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.validate |
| 214 |
|
| 215 |
.. py:method:: __eq__(other) |
| 216 |
:canonical: aiida.manage.configuration.config.Config.__eq__ |
| 217 |
|
| 218 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.__eq__ |
| 219 |
|
| 220 |
.. py:method:: __ne__(other) |
| 221 |
:canonical: aiida.manage.configuration.config.Config.__ne__ |
| 222 |
|
| 223 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.__ne__ |
| 224 |
|
| 225 |
.. py:method:: handle_invalid(message) |
| 226 |
:canonical: aiida.manage.configuration.config.Config.handle_invalid |
| 227 |
|
| 228 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.handle_invalid |
| 229 |
|
| 230 |
.. py:property:: dictionary |
| 231 |
:canonical: aiida.manage.configuration.config.Config.dictionary |
| 232 |
:type: dict |
| 233 |
|
| 234 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.dictionary |
| 235 |
|
| 236 |
.. py:property:: version |
| 237 |
:canonical: aiida.manage.configuration.config.Config.version |
| 238 |
|
| 239 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.version |
| 240 |
|
| 241 |
.. py:property:: version_oldest_compatible |
| 242 |
:canonical: aiida.manage.configuration.config.Config.version_oldest_compatible |
| 243 |
|
| 244 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.version_oldest_compatible |
| 245 |
|
| 246 |
.. py:property:: version_settings |
| 247 |
:canonical: aiida.manage.configuration.config.Config.version_settings |
| 248 |
|
| 249 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.version_settings |
| 250 |
|
| 251 |
.. py:property:: filepath |
| 252 |
:canonical: aiida.manage.configuration.config.Config.filepath |
| 253 |
|
| 254 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.filepath |
| 255 |
|
| 256 |
.. py:property:: dirpath |
| 257 |
:canonical: aiida.manage.configuration.config.Config.dirpath |
| 258 |
|
| 259 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.dirpath |
| 260 |
|
| 261 |
.. py:property:: default_profile_name |
| 262 |
:canonical: aiida.manage.configuration.config.Config.default_profile_name |
| 263 |
|
| 264 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.default_profile_name |
| 265 |
|
| 266 |
.. py:property:: profile_names |
| 267 |
:canonical: aiida.manage.configuration.config.Config.profile_names |
| 268 |
|
| 269 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.profile_names |
| 270 |
|
| 271 |
.. py:property:: profiles |
| 272 |
:canonical: aiida.manage.configuration.config.Config.profiles |
| 273 |
|
| 274 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.profiles |
| 275 |
|
| 276 |
.. py:method:: validate_profile(name) |
| 277 |
:canonical: aiida.manage.configuration.config.Config.validate_profile |
| 278 |
|
| 279 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.validate_profile |
| 280 |
|
| 281 |
.. py:method:: get_profile(name: typing.Optional[str] = None) -> aiida.manage.configuration.profile.Profile |
| 282 |
:canonical: aiida.manage.configuration.config.Config.get_profile |
| 283 |
|
| 284 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.get_profile |
| 285 |
|
| 286 |
.. py:method:: add_profile(profile) |
| 287 |
:canonical: aiida.manage.configuration.config.Config.add_profile |
| 288 |
|
| 289 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.add_profile |
| 290 |
|
| 291 |
.. py:method:: update_profile(profile) |
| 292 |
:canonical: aiida.manage.configuration.config.Config.update_profile |
| 293 |
|
| 294 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.update_profile |
| 295 |
|
| 296 |
.. py:method:: remove_profile(name) |
| 297 |
:canonical: aiida.manage.configuration.config.Config.remove_profile |
| 298 |
|
| 299 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.remove_profile |
| 300 |
|
| 301 |
.. py:method:: delete_profile(name: str, include_database: bool = True, include_database_user: bool = False, include_repository: bool = True) |
| 302 |
:canonical: aiida.manage.configuration.config.Config.delete_profile |
| 303 |
|
| 304 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.delete_profile |
| 305 |
|
| 306 |
.. py:method:: set_default_profile(name, overwrite=False) |
| 307 |
:canonical: aiida.manage.configuration.config.Config.set_default_profile |
| 308 |
|
| 309 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.set_default_profile |
| 310 |
|
| 311 |
.. py:property:: options |
| 312 |
:canonical: aiida.manage.configuration.config.Config.options |
| 313 |
|
| 314 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.options |
| 315 |
|
| 316 |
.. py:method:: set_option(option_name, option_value, scope=None, override=True) |
| 317 |
:canonical: aiida.manage.configuration.config.Config.set_option |
| 318 |
|
| 319 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.set_option |
| 320 |
|
| 321 |
.. py:method:: unset_option(option_name: str, scope=None) |
| 322 |
:canonical: aiida.manage.configuration.config.Config.unset_option |
| 323 |
|
| 324 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.unset_option |
| 325 |
|
| 326 |
.. py:method:: get_option(option_name, scope=None, default=True) |
| 327 |
:canonical: aiida.manage.configuration.config.Config.get_option |
| 328 |
|
| 329 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.get_option |
| 330 |
|
| 331 |
.. py:method:: get_options(scope: typing.Optional[str] = None) -> typing.Dict[str, typing.Tuple[aiida.manage.configuration.options.Option, str, typing.Any]] |
| 332 |
:canonical: aiida.manage.configuration.config.Config.get_options |
| 333 |
|
| 334 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.get_options |
| 335 |
|
| 336 |
.. py:method:: store() |
| 337 |
:canonical: aiida.manage.configuration.config.Config.store |
| 338 |
|
| 339 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config.store |
| 340 |
|
| 341 |
.. py:method:: _atomic_write(filepath=None) |
| 342 |
:canonical: aiida.manage.configuration.config.Config._atomic_write |
| 343 |
|
| 344 |
.. autodoc2-docstring:: aiida.manage.configuration.config.Config._atomic_write |
| 345 |
|
| 346 |
.. py:exception:: ConfigValidationError(message: str, keypath: typing.Sequence[typing.Any] = (), schema: typing.Optional[dict] = None, filepath: typing.Optional[str] = None) |
| 347 |
:canonical: aiida.manage.configuration.config.ConfigValidationError |
| 348 |
|
| 349 |
Bases: :py:obj:`aiida.common.exceptions.ConfigurationError` |
| 350 |
|
| 351 |
.. autodoc2-docstring:: aiida.manage.configuration.config.ConfigValidationError |
| 352 |
|
| 353 |
.. rubric:: Initialization |
| 354 |
|
| 355 |
.. autodoc2-docstring:: aiida.manage.configuration.config.ConfigValidationError.__init__ |
| 356 |
|
| 357 |
.. py:method:: __str__() -> str |
| 358 |
:canonical: aiida.manage.configuration.config.ConfigValidationError.__str__ |
| 359 |
|
| 360 |
.. py:data:: MIGRATIONS |
| 361 |
:canonical: aiida.manage.configuration.migrations.migrations.MIGRATIONS |
| 362 |
:value: () |
| 363 |
|
| 364 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.MIGRATIONS |
| 365 |
|
| 366 |
.. py:exception:: ManagementApiConnectionError() |
| 367 |
:canonical: aiida.manage.external.rmq.client.ManagementApiConnectionError |
| 368 |
|
| 369 |
Bases: :py:obj:`aiida.common.exceptions.AiidaException` |
| 370 |
|
| 371 |
.. autodoc2-docstring:: aiida.manage.external.rmq.client.ManagementApiConnectionError |
| 372 |
|
| 373 |
.. rubric:: Initialization |
| 374 |
|
| 375 |
.. autodoc2-docstring:: aiida.manage.external.rmq.client.ManagementApiConnectionError.__init__ |
| 376 |
|
| 377 |
.. py:data:: OLDEST_COMPATIBLE_CONFIG_VERSION |
| 378 |
:canonical: aiida.manage.configuration.migrations.migrations.OLDEST_COMPATIBLE_CONFIG_VERSION |
| 379 |
:value: 9 |
| 380 |
|
| 381 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.OLDEST_COMPATIBLE_CONFIG_VERSION |
| 382 |
|
| 383 |
.. py:class:: Option(name: str, schema: typing.Dict[str, typing.Any]) |
| 384 |
:canonical: aiida.manage.configuration.options.Option |
| 385 |
|
| 386 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option |
| 387 |
|
| 388 |
.. rubric:: Initialization |
| 389 |
|
| 390 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.__init__ |
| 391 |
|
| 392 |
.. py:method:: __str__() -> str |
| 393 |
:canonical: aiida.manage.configuration.options.Option.__str__ |
| 394 |
|
| 395 |
.. py:property:: name |
| 396 |
:canonical: aiida.manage.configuration.options.Option.name |
| 397 |
:type: str |
| 398 |
|
| 399 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.name |
| 400 |
|
| 401 |
.. py:property:: schema |
| 402 |
:canonical: aiida.manage.configuration.options.Option.schema |
| 403 |
:type: typing.Dict[str, typing.Any] |
| 404 |
|
| 405 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.schema |
| 406 |
|
| 407 |
.. py:property:: valid_type |
| 408 |
:canonical: aiida.manage.configuration.options.Option.valid_type |
| 409 |
:type: typing.Any |
| 410 |
|
| 411 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.valid_type |
| 412 |
|
| 413 |
.. py:property:: default |
| 414 |
:canonical: aiida.manage.configuration.options.Option.default |
| 415 |
:type: typing.Any |
| 416 |
|
| 417 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.default |
| 418 |
|
| 419 |
.. py:property:: description |
| 420 |
:canonical: aiida.manage.configuration.options.Option.description |
| 421 |
:type: str |
| 422 |
|
| 423 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.description |
| 424 |
|
| 425 |
.. py:property:: global_only |
| 426 |
:canonical: aiida.manage.configuration.options.Option.global_only |
| 427 |
:type: bool |
| 428 |
|
| 429 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.global_only |
| 430 |
|
| 431 |
.. py:method:: validate(value: typing.Any, cast: bool = True) -> typing.Any |
| 432 |
:canonical: aiida.manage.configuration.options.Option.validate |
| 433 |
|
| 434 |
.. autodoc2-docstring:: aiida.manage.configuration.options.Option.validate |
| 435 |
|
| 436 |
.. py:class:: Postgres(dbinfo=None, **kwargs) |
| 437 |
:canonical: aiida.manage.external.postgres.Postgres |
| 438 |
|
| 439 |
Bases: :py:obj:`pgsu.PGSU` |
| 440 |
|
| 441 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres |
| 442 |
|
| 443 |
.. rubric:: Initialization |
| 444 |
|
| 445 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.__init__ |
| 446 |
|
| 447 |
.. py:method:: from_profile(profile: aiida.manage.configuration.Profile, **kwargs) |
| 448 |
:canonical: aiida.manage.external.postgres.Postgres.from_profile |
| 449 |
:classmethod: |
| 450 |
|
| 451 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.from_profile |
| 452 |
|
| 453 |
.. py:method:: dbuser_exists(dbuser) |
| 454 |
:canonical: aiida.manage.external.postgres.Postgres.dbuser_exists |
| 455 |
|
| 456 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.dbuser_exists |
| 457 |
|
| 458 |
.. py:method:: create_dbuser(dbuser, dbpass, privileges='') |
| 459 |
:canonical: aiida.manage.external.postgres.Postgres.create_dbuser |
| 460 |
|
| 461 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.create_dbuser |
| 462 |
|
| 463 |
.. py:method:: drop_dbuser(dbuser) |
| 464 |
:canonical: aiida.manage.external.postgres.Postgres.drop_dbuser |
| 465 |
|
| 466 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.drop_dbuser |
| 467 |
|
| 468 |
.. py:method:: check_dbuser(dbuser) |
| 469 |
:canonical: aiida.manage.external.postgres.Postgres.check_dbuser |
| 470 |
|
| 471 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.check_dbuser |
| 472 |
|
| 473 |
.. py:method:: db_exists(dbname) |
| 474 |
:canonical: aiida.manage.external.postgres.Postgres.db_exists |
| 475 |
|
| 476 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.db_exists |
| 477 |
|
| 478 |
.. py:method:: create_db(dbuser, dbname) |
| 479 |
:canonical: aiida.manage.external.postgres.Postgres.create_db |
| 480 |
|
| 481 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.create_db |
| 482 |
|
| 483 |
.. py:method:: drop_db(dbname) |
| 484 |
:canonical: aiida.manage.external.postgres.Postgres.drop_db |
| 485 |
|
| 486 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.drop_db |
| 487 |
|
| 488 |
.. py:method:: copy_db(src_db, dest_db, dbuser) |
| 489 |
:canonical: aiida.manage.external.postgres.Postgres.copy_db |
| 490 |
|
| 491 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.copy_db |
| 492 |
|
| 493 |
.. py:method:: check_db(dbname) |
| 494 |
:canonical: aiida.manage.external.postgres.Postgres.check_db |
| 495 |
|
| 496 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.check_db |
| 497 |
|
| 498 |
.. py:method:: create_dbuser_db_safe(dbname, dbuser, dbpass) |
| 499 |
:canonical: aiida.manage.external.postgres.Postgres.create_dbuser_db_safe |
| 500 |
|
| 501 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.create_dbuser_db_safe |
| 502 |
|
| 503 |
.. py:property:: host_for_psycopg2 |
| 504 |
:canonical: aiida.manage.external.postgres.Postgres.host_for_psycopg2 |
| 505 |
|
| 506 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.host_for_psycopg2 |
| 507 |
|
| 508 |
.. py:property:: port_for_psycopg2 |
| 509 |
:canonical: aiida.manage.external.postgres.Postgres.port_for_psycopg2 |
| 510 |
|
| 511 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.port_for_psycopg2 |
| 512 |
|
| 513 |
.. py:property:: dbinfo |
| 514 |
:canonical: aiida.manage.external.postgres.Postgres.dbinfo |
| 515 |
|
| 516 |
.. autodoc2-docstring:: aiida.manage.external.postgres.Postgres.dbinfo |
| 517 |
|
| 518 |
.. py:class:: ProcessLauncher |
| 519 |
:canonical: aiida.manage.external.rmq.launcher.ProcessLauncher |
| 520 |
|
| 521 |
Bases: :py:obj:`plumpy.ProcessLauncher` |
| 522 |
|
| 523 |
.. autodoc2-docstring:: aiida.manage.external.rmq.launcher.ProcessLauncher |
| 524 |
|
| 525 |
.. py:method:: handle_continue_exception(node, exception, message) |
| 526 |
:canonical: aiida.manage.external.rmq.launcher.ProcessLauncher.handle_continue_exception |
| 527 |
:staticmethod: |
| 528 |
|
| 529 |
.. autodoc2-docstring:: aiida.manage.external.rmq.launcher.ProcessLauncher.handle_continue_exception |
| 530 |
|
| 531 |
.. py:method:: _continue(communicator, pid, nowait, tag=None) |
| 532 |
:canonical: aiida.manage.external.rmq.launcher.ProcessLauncher._continue |
| 533 |
:async: |
| 534 |
|
| 535 |
.. autodoc2-docstring:: aiida.manage.external.rmq.launcher.ProcessLauncher._continue |
| 536 |
|
| 537 |
.. py:class:: Profile(name: str, config: typing.Mapping[str, typing.Any], validate=True) |
| 538 |
:canonical: aiida.manage.configuration.profile.Profile |
| 539 |
|
| 540 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile |
| 541 |
|
| 542 |
.. rubric:: Initialization |
| 543 |
|
| 544 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.__init__ |
| 545 |
|
| 546 |
.. py:attribute:: KEY_UUID |
| 547 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_UUID |
| 548 |
:value: 'PROFILE_UUID' |
| 549 |
|
| 550 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_UUID |
| 551 |
|
| 552 |
.. py:attribute:: KEY_DEFAULT_USER_EMAIL |
| 553 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_DEFAULT_USER_EMAIL |
| 554 |
:value: 'default_user_email' |
| 555 |
|
| 556 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_DEFAULT_USER_EMAIL |
| 557 |
|
| 558 |
.. py:attribute:: KEY_STORAGE |
| 559 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_STORAGE |
| 560 |
:value: 'storage' |
| 561 |
|
| 562 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_STORAGE |
| 563 |
|
| 564 |
.. py:attribute:: KEY_PROCESS |
| 565 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_PROCESS |
| 566 |
:value: 'process_control' |
| 567 |
|
| 568 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_PROCESS |
| 569 |
|
| 570 |
.. py:attribute:: KEY_STORAGE_BACKEND |
| 571 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_STORAGE_BACKEND |
| 572 |
:value: 'backend' |
| 573 |
|
| 574 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_STORAGE_BACKEND |
| 575 |
|
| 576 |
.. py:attribute:: KEY_STORAGE_CONFIG |
| 577 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_STORAGE_CONFIG |
| 578 |
:value: 'config' |
| 579 |
|
| 580 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_STORAGE_CONFIG |
| 581 |
|
| 582 |
.. py:attribute:: KEY_PROCESS_BACKEND |
| 583 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_PROCESS_BACKEND |
| 584 |
:value: 'backend' |
| 585 |
|
| 586 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_PROCESS_BACKEND |
| 587 |
|
| 588 |
.. py:attribute:: KEY_PROCESS_CONFIG |
| 589 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_PROCESS_CONFIG |
| 590 |
:value: 'config' |
| 591 |
|
| 592 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_PROCESS_CONFIG |
| 593 |
|
| 594 |
.. py:attribute:: KEY_OPTIONS |
| 595 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_OPTIONS |
| 596 |
:value: 'options' |
| 597 |
|
| 598 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_OPTIONS |
| 599 |
|
| 600 |
.. py:attribute:: KEY_TEST_PROFILE |
| 601 |
:canonical: aiida.manage.configuration.profile.Profile.KEY_TEST_PROFILE |
| 602 |
:value: 'test_profile' |
| 603 |
|
| 604 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.KEY_TEST_PROFILE |
| 605 |
|
| 606 |
.. py:attribute:: REQUIRED_KEYS |
| 607 |
:canonical: aiida.manage.configuration.profile.Profile.REQUIRED_KEYS |
| 608 |
:value: () |
| 609 |
|
| 610 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.REQUIRED_KEYS |
| 611 |
|
| 612 |
.. py:method:: __repr__() -> str |
| 613 |
:canonical: aiida.manage.configuration.profile.Profile.__repr__ |
| 614 |
|
| 615 |
.. py:method:: copy() |
| 616 |
:canonical: aiida.manage.configuration.profile.Profile.copy |
| 617 |
|
| 618 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.copy |
| 619 |
|
| 620 |
.. py:property:: uuid |
| 621 |
:canonical: aiida.manage.configuration.profile.Profile.uuid |
| 622 |
:type: str |
| 623 |
|
| 624 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.uuid |
| 625 |
|
| 626 |
.. py:property:: default_user_email |
| 627 |
:canonical: aiida.manage.configuration.profile.Profile.default_user_email |
| 628 |
:type: typing.Optional[str] |
| 629 |
|
| 630 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.default_user_email |
| 631 |
|
| 632 |
.. py:property:: storage_backend |
| 633 |
:canonical: aiida.manage.configuration.profile.Profile.storage_backend |
| 634 |
:type: str |
| 635 |
|
| 636 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.storage_backend |
| 637 |
|
| 638 |
.. py:property:: storage_config |
| 639 |
:canonical: aiida.manage.configuration.profile.Profile.storage_config |
| 640 |
:type: typing.Dict[str, typing.Any] |
| 641 |
|
| 642 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.storage_config |
| 643 |
|
| 644 |
.. py:method:: set_storage(name: str, config: typing.Dict[str, typing.Any]) -> None |
| 645 |
:canonical: aiida.manage.configuration.profile.Profile.set_storage |
| 646 |
|
| 647 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.set_storage |
| 648 |
|
| 649 |
.. py:property:: storage_cls |
| 650 |
:canonical: aiida.manage.configuration.profile.Profile.storage_cls |
| 651 |
:type: typing.Type[aiida.orm.implementation.StorageBackend] |
| 652 |
|
| 653 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.storage_cls |
| 654 |
|
| 655 |
.. py:property:: process_control_backend |
| 656 |
:canonical: aiida.manage.configuration.profile.Profile.process_control_backend |
| 657 |
:type: str |
| 658 |
|
| 659 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.process_control_backend |
| 660 |
|
| 661 |
.. py:property:: process_control_config |
| 662 |
:canonical: aiida.manage.configuration.profile.Profile.process_control_config |
| 663 |
:type: typing.Dict[str, typing.Any] |
| 664 |
|
| 665 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.process_control_config |
| 666 |
|
| 667 |
.. py:method:: set_process_controller(name: str, config: typing.Dict[str, typing.Any]) -> None |
| 668 |
:canonical: aiida.manage.configuration.profile.Profile.set_process_controller |
| 669 |
|
| 670 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.set_process_controller |
| 671 |
|
| 672 |
.. py:property:: options |
| 673 |
:canonical: aiida.manage.configuration.profile.Profile.options |
| 674 |
|
| 675 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.options |
| 676 |
|
| 677 |
.. py:method:: get_option(option_key, default=None) |
| 678 |
:canonical: aiida.manage.configuration.profile.Profile.get_option |
| 679 |
|
| 680 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.get_option |
| 681 |
|
| 682 |
.. py:method:: set_option(option_key, value, override=True) |
| 683 |
:canonical: aiida.manage.configuration.profile.Profile.set_option |
| 684 |
|
| 685 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.set_option |
| 686 |
|
| 687 |
.. py:method:: unset_option(option_key) |
| 688 |
:canonical: aiida.manage.configuration.profile.Profile.unset_option |
| 689 |
|
| 690 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.unset_option |
| 691 |
|
| 692 |
.. py:property:: name |
| 693 |
:canonical: aiida.manage.configuration.profile.Profile.name |
| 694 |
|
| 695 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.name |
| 696 |
|
| 697 |
.. py:property:: dictionary |
| 698 |
:canonical: aiida.manage.configuration.profile.Profile.dictionary |
| 699 |
:type: typing.Dict[str, typing.Any] |
| 700 |
|
| 701 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.dictionary |
| 702 |
|
| 703 |
.. py:property:: is_test_profile |
| 704 |
:canonical: aiida.manage.configuration.profile.Profile.is_test_profile |
| 705 |
:type: bool |
| 706 |
|
| 707 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.is_test_profile |
| 708 |
|
| 709 |
.. py:property:: repository_path |
| 710 |
:canonical: aiida.manage.configuration.profile.Profile.repository_path |
| 711 |
:type: pathlib.Path |
| 712 |
|
| 713 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.repository_path |
| 714 |
|
| 715 |
.. py:property:: rmq_prefix |
| 716 |
:canonical: aiida.manage.configuration.profile.Profile.rmq_prefix |
| 717 |
:type: str |
| 718 |
|
| 719 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.rmq_prefix |
| 720 |
|
| 721 |
.. py:method:: get_rmq_url() -> str |
| 722 |
:canonical: aiida.manage.configuration.profile.Profile.get_rmq_url |
| 723 |
|
| 724 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.get_rmq_url |
| 725 |
|
| 726 |
.. py:property:: filepaths |
| 727 |
:canonical: aiida.manage.configuration.profile.Profile.filepaths |
| 728 |
|
| 729 |
.. autodoc2-docstring:: aiida.manage.configuration.profile.Profile.filepaths |
| 730 |
|
| 731 |
.. py:class:: RabbitmqManagementClient(username: str, password: str, hostname: str, virtual_host: str) |
| 732 |
:canonical: aiida.manage.external.rmq.client.RabbitmqManagementClient |
| 733 |
|
| 734 |
.. autodoc2-docstring:: aiida.manage.external.rmq.client.RabbitmqManagementClient |
| 735 |
|
| 736 |
.. rubric:: Initialization |
| 737 |
|
| 738 |
.. autodoc2-docstring:: aiida.manage.external.rmq.client.RabbitmqManagementClient.__init__ |
| 739 |
|
| 740 |
.. py:method:: format_url(url: str, url_params: dict[str, str] | None = None) -> str |
| 741 |
:canonical: aiida.manage.external.rmq.client.RabbitmqManagementClient.format_url |
| 742 |
|
| 743 |
.. autodoc2-docstring:: aiida.manage.external.rmq.client.RabbitmqManagementClient.format_url |
| 744 |
|
| 745 |
.. py:method:: request(url: str, url_params: dict[str, str] | None = None, method: str = 'GET', params: dict[str, typing.Any] | None = None) -> requests.Response |
| 746 |
:canonical: aiida.manage.external.rmq.client.RabbitmqManagementClient.request |
| 747 |
|
| 748 |
.. autodoc2-docstring:: aiida.manage.external.rmq.client.RabbitmqManagementClient.request |
| 749 |
|
| 750 |
.. py:property:: is_connected |
| 751 |
:canonical: aiida.manage.external.rmq.client.RabbitmqManagementClient.is_connected |
| 752 |
:type: bool |
| 753 |
|
| 754 |
.. autodoc2-docstring:: aiida.manage.external.rmq.client.RabbitmqManagementClient.is_connected |
| 755 |
|
| 756 |
.. py:function:: check_and_migrate_config(config, filepath: typing.Optional[str] = None) |
| 757 |
:canonical: aiida.manage.configuration.migrations.migrations.check_and_migrate_config |
| 758 |
|
| 759 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.check_and_migrate_config |
| 760 |
|
| 761 |
.. py:function:: config_needs_migrating(config, filepath: typing.Optional[str] = None) |
| 762 |
:canonical: aiida.manage.configuration.migrations.migrations.config_needs_migrating |
| 763 |
|
| 764 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.config_needs_migrating |
| 765 |
|
| 766 |
.. py:function:: config_schema() -> typing.Dict[str, typing.Any] |
| 767 |
:canonical: aiida.manage.configuration.config.config_schema |
| 768 |
|
| 769 |
.. autodoc2-docstring:: aiida.manage.configuration.config.config_schema |
| 770 |
|
| 771 |
.. py:function:: disable_caching(*, identifier=None) |
| 772 |
:canonical: aiida.manage.caching.disable_caching |
| 773 |
|
| 774 |
.. autodoc2-docstring:: aiida.manage.caching.disable_caching |
| 775 |
|
| 776 |
.. py:function:: downgrade_config(config: aiida.manage.configuration.migrations.migrations.ConfigType, target: int, migrations: typing.Iterable[typing.Type[aiida.manage.configuration.migrations.migrations.SingleMigration]] = MIGRATIONS) -> aiida.manage.configuration.migrations.migrations.ConfigType |
| 777 |
:canonical: aiida.manage.configuration.migrations.migrations.downgrade_config |
| 778 |
|
| 779 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.downgrade_config |
| 780 |
|
| 781 |
.. py:function:: enable_caching(*, identifier=None) |
| 782 |
:canonical: aiida.manage.caching.enable_caching |
| 783 |
|
| 784 |
.. autodoc2-docstring:: aiida.manage.caching.enable_caching |
| 785 |
|
| 786 |
.. py:function:: get_current_version(config) |
| 787 |
:canonical: aiida.manage.configuration.migrations.migrations.get_current_version |
| 788 |
|
| 789 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.get_current_version |
| 790 |
|
| 791 |
.. py:function:: get_launch_queue_name(prefix=None) |
| 792 |
:canonical: aiida.manage.external.rmq.utils.get_launch_queue_name |
| 793 |
|
| 794 |
.. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_launch_queue_name |
| 795 |
|
| 796 |
.. py:function:: get_manager() -> Manager |
| 797 |
:canonical: aiida.manage.manager.get_manager |
| 798 |
|
| 799 |
.. autodoc2-docstring:: aiida.manage.manager.get_manager |
| 800 |
|
| 801 |
.. py:function:: get_message_exchange_name(prefix) |
| 802 |
:canonical: aiida.manage.external.rmq.utils.get_message_exchange_name |
| 803 |
|
| 804 |
.. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_message_exchange_name |
| 805 |
|
| 806 |
.. py:function:: get_option(name: str) -> aiida.manage.configuration.options.Option |
| 807 |
:canonical: aiida.manage.configuration.options.get_option |
| 808 |
|
| 809 |
.. autodoc2-docstring:: aiida.manage.configuration.options.get_option |
| 810 |
|
| 811 |
.. py:function:: get_option_names() -> typing.List[str] |
| 812 |
:canonical: aiida.manage.configuration.options.get_option_names |
| 813 |
|
| 814 |
.. autodoc2-docstring:: aiida.manage.configuration.options.get_option_names |
| 815 |
|
| 816 |
.. py:function:: get_rmq_url(protocol=None, username=None, password=None, host=None, port=None, virtual_host=None, **kwargs) |
| 817 |
:canonical: aiida.manage.external.rmq.utils.get_rmq_url |
| 818 |
|
| 819 |
.. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_rmq_url |
| 820 |
|
| 821 |
.. py:function:: get_task_exchange_name(prefix) |
| 822 |
:canonical: aiida.manage.external.rmq.utils.get_task_exchange_name |
| 823 |
|
| 824 |
.. autodoc2-docstring:: aiida.manage.external.rmq.utils.get_task_exchange_name |
| 825 |
|
| 826 |
.. py:function:: get_use_cache(*, identifier=None) |
| 827 |
:canonical: aiida.manage.caching.get_use_cache |
| 828 |
|
| 829 |
.. autodoc2-docstring:: aiida.manage.caching.get_use_cache |
| 830 |
|
| 831 |
.. py:function:: parse_option(option_name: str, option_value: typing.Any) -> typing.Tuple[aiida.manage.configuration.options.Option, typing.Any] |
| 832 |
:canonical: aiida.manage.configuration.options.parse_option |
| 833 |
|
| 834 |
.. autodoc2-docstring:: aiida.manage.configuration.options.parse_option |
| 835 |
|
| 836 |
.. py:function:: upgrade_config(config: aiida.manage.configuration.migrations.migrations.ConfigType, target: int = CURRENT_CONFIG_VERSION, migrations: typing.Iterable[typing.Type[aiida.manage.configuration.migrations.migrations.SingleMigration]] = MIGRATIONS) -> aiida.manage.configuration.migrations.migrations.ConfigType |
| 837 |
:canonical: aiida.manage.configuration.migrations.migrations.upgrade_config |
| 838 |
|
| 839 |
.. autodoc2-docstring:: aiida.manage.configuration.migrations.migrations.upgrade_config |