rez.config

class rez.config.Bool(config, key)[source]

Bases: rez.config.Setting

all_words = frozenset({'0', '1', 'f', 'false', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes'})
false_words = frozenset({'0', 'f', 'false', 'n', 'no', 'off'})
schema = Schema(<class 'bool'>)
true_words = frozenset({'1', 'on', 't', 'true', 'y', 'yes'})
class rez.config.BuildThreadCount_(config, key)[source]

Bases: rez.config.Setting

schema = Or(And(<class 'int'>, <function BuildThreadCount_.schema.<locals>.<lambda>>), And('physical_cores', Use(<function BuildThreadCount_.schema.<locals>.<lambda>>)), And('logical_cores', Use(<function BuildThreadCount_.schema.<locals>.<lambda>>)))
class rez.config.Char(config, key)[source]

Bases: rez.config.Setting

schema = Schema(<class 'str'>)
class rez.config.Config(filepaths, overrides=None, locked=False)[source]

Bases: object

Rez configuration settings.

You should call the create_config function, rather than constructing a Config object directly.

Config files are merged with other config files to create a Config instance. The ‘rezconfig’ file in rez acts as the master - other config files update the master configuration to create the final config. See the comments at the top of ‘rezconfig’ for more details.

alias_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
alias_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
alias_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
all_parent_variables

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
all_resetting_variables

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
allow_unversioned_packages

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
bind_module_path

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
browser

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
build_directory

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
build_thread_count

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
cache_listdir

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
cache_package_files

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
cache_packages_path

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
catch_rex_errors

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
color_enabled

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
context_tmpdir

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
context_tracking_amqp

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
context_tracking_context_fields

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
context_tracking_extra_fields

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
context_tracking_host

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
copy(overrides=None, locked=False)[source]

Create a separate copy of this config.

create_executable_script_mode

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
critical_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
critical_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
critical_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
property data

Returns the entire configuration as a dict.

Note that this will force all plugins to be loaded.

debug(key)[source]

Returns True if the debug setting is enabled.

debug_all

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_bind_modules

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_context_tracking

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_file_loads

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_memcache

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_none

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_old_commands

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_package_exclusions

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_package_release

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_plugins

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_printer(key)[source]

Returns a printer object suitably enabled based on the given key.

debug_resolve_memcache

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_resources

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
debug_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
default_cachable

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
default_cachable_per_package

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
default_cachable_per_repository

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
default_relocatable

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
default_relocatable_per_package

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
default_relocatable_per_repository

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
default_shell

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
difftool

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
disable_rez_1_compatibility

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
documentation_url

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
dot_image_format

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
editor

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
env_var_separators

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
ephemeral_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
ephemeral_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
ephemeral_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
error_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
error_commands2

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
error_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
error_old_commands

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
error_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
get(key, default=None)[source]

Get the value of a setting.

get_completions(prefix)[source]
gui_threads

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
heading_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
heading_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
heading_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
image_viewer

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
implicit_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
implicit_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
implicit_packages

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
implicit_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
info_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
info_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
info_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
is_overridden(key)[source]
local_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
local_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
local_packages_path

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
local_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
make_package_temporarily_writable

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
max_package_changelog_chars

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
max_package_changelog_revisions

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
memcached_context_file_min_compress_len

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
memcached_listdir_min_compress_len

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
memcached_package_file_min_compress_len

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
memcached_resolve_min_compress_len

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
memcached_uri

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
new_session_popen_args

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
property nonlocal_packages_path

Returns package search paths with local path removed.

optionvars

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
override(key, value)[source]

Set a setting to the given value.

Note that key can be in dotted form, eg ‘plugins.release_hook.emailer.sender’.

package_cache_clean_limit

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_cache_during_build

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_cache_local

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_cache_log_days

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_cache_max_variant_days

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_cache_same_device

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_commands_sourced_first

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_definition_build_python_paths

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_definition_python_path

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_filter

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_orderers

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_preprocess_function

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
package_preprocess_mode

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
packages_path

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
parent_variables

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
pathed_env_vars

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
pip_extra_args

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
pip_install_remaps

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
platform_map

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
plugin_path

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
plugins

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
prefix_prompt

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
prompt_release_message

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
prune_failed_graph

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
quiet

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
read_package_cache

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
release_hooks

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
release_packages_path

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
remove_override(key)[source]

Remove a setting override, if one exists.

resetting_variables

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
resolve_caching

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
resource_caching_maxsize

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
rez_1_cmake_variables

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
rez_1_environment_variables

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
rez_tools_visibility

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
rxt_as_yaml

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
schema = Schema({'packages_path': <class 'rez.config.PathList'>, 'plugin_path': <class 'rez.config.PathList'>, 'bind_module_path': <class 'rez.config.PathList'>, 'standard_system_paths': <class 'rez.config.PathList'>, 'package_definition_build_python_paths': <class 'rez.config.PathList'>, 'platform_map': <class 'rez.config.OptionalDict'>, 'default_relocatable_per_package': <class 'rez.config.OptionalDict'>, 'default_relocatable_per_repository': <class 'rez.config.OptionalDict'>, 'default_cachable_per_package': <class 'rez.config.OptionalDict'>, 'default_cachable_per_repository': <class 'rez.config.OptionalDict'>, 'default_cachable': <class 'rez.config.OptionalBool'>, 'implicit_packages': <class 'rez.config.StrList'>, 'parent_variables': <class 'rez.config.StrList'>, 'resetting_variables': <class 'rez.config.StrList'>, 'release_hooks': <class 'rez.config.StrList'>, 'context_tracking_context_fields': <class 'rez.config.StrList'>, 'pathed_env_vars': <class 'rez.config.StrList'>, 'prompt_release_message': <class 'rez.config.Bool'>, 'critical_styles': <class 'rez.config.OptionalStrList'>, 'error_styles': <class 'rez.config.OptionalStrList'>, 'warning_styles': <class 'rez.config.OptionalStrList'>, 'info_styles': <class 'rez.config.OptionalStrList'>, 'debug_styles': <class 'rez.config.OptionalStrList'>, 'heading_styles': <class 'rez.config.OptionalStrList'>, 'local_styles': <class 'rez.config.OptionalStrList'>, 'implicit_styles': <class 'rez.config.OptionalStrList'>, 'ephemeral_styles': <class 'rez.config.OptionalStrList'>, 'alias_styles': <class 'rez.config.OptionalStrList'>, 'memcached_uri': <class 'rez.config.OptionalStrList'>, 'pip_extra_args': <class 'rez.config.OptionalStrList'>, 'pip_install_remaps': <class 'rez.config.PipInstallRemaps'>, 'local_packages_path': <class 'rez.config.Str'>, 'release_packages_path': <class 'rez.config.Str'>, 'dot_image_format': <class 'rez.config.Str'>, 'build_directory': <class 'rez.config.Str'>, 'documentation_url': <class 'rez.config.Str'>, 'suite_visibility': <class 'rez.config.SuiteVisibility_'>, 'rez_tools_visibility': <class 'rez.config.RezToolsVisibility_'>, 'create_executable_script_mode': <class 'rez.config.ExecutableScriptMode_'>, 'suite_alias_prefix_char': <class 'rez.config.Char'>, 'cache_packages_path': <class 'rez.config.OptionalStr'>, 'package_definition_python_path': <class 'rez.config.OptionalStr'>, 'tmpdir': <class 'rez.config.OptionalStr'>, 'context_tmpdir': <class 'rez.config.OptionalStr'>, 'default_shell': <class 'rez.config.OptionalStr'>, 'terminal_emulator_command': <class 'rez.config.OptionalStr'>, 'editor': <class 'rez.config.OptionalStr'>, 'image_viewer': <class 'rez.config.OptionalStr'>, 'difftool': <class 'rez.config.OptionalStr'>, 'browser': <class 'rez.config.OptionalStr'>, 'critical_fore': <class 'rez.config.OptionalStr'>, 'critical_back': <class 'rez.config.OptionalStr'>, 'error_fore': <class 'rez.config.OptionalStr'>, 'error_back': <class 'rez.config.OptionalStr'>, 'warning_fore': <class 'rez.config.OptionalStr'>, 'warning_back': <class 'rez.config.OptionalStr'>, 'info_fore': <class 'rez.config.OptionalStr'>, 'info_back': <class 'rez.config.OptionalStr'>, 'debug_fore': <class 'rez.config.OptionalStr'>, 'debug_back': <class 'rez.config.OptionalStr'>, 'heading_fore': <class 'rez.config.OptionalStr'>, 'heading_back': <class 'rez.config.OptionalStr'>, 'local_fore': <class 'rez.config.OptionalStr'>, 'local_back': <class 'rez.config.OptionalStr'>, 'implicit_fore': <class 'rez.config.OptionalStr'>, 'implicit_back': <class 'rez.config.OptionalStr'>, 'ephemeral_fore': <class 'rez.config.OptionalStr'>, 'ephemeral_back': <class 'rez.config.OptionalStr'>, 'alias_fore': <class 'rez.config.OptionalStr'>, 'alias_back': <class 'rez.config.OptionalStr'>, 'package_preprocess_function': <class 'rez.config.OptionalStrOrFunction'>, 'package_preprocess_mode': <class 'rez.config.PreprocessMode_'>, 'context_tracking_host': <class 'rez.config.OptionalStr'>, 'variant_shortlinks_dirname': <class 'rez.config.OptionalStr'>, 'build_thread_count': <class 'rez.config.BuildThreadCount_'>, 'resource_caching_maxsize': <class 'rez.config.Int'>, 'max_package_changelog_chars': <class 'rez.config.Int'>, 'max_package_changelog_revisions': <class 'rez.config.Int'>, 'memcached_package_file_min_compress_len': <class 'rez.config.Int'>, 'memcached_context_file_min_compress_len': <class 'rez.config.Int'>, 'memcached_listdir_min_compress_len': <class 'rez.config.Int'>, 'memcached_resolve_min_compress_len': <class 'rez.config.Int'>, 'shell_error_truncate_cap': <class 'rez.config.Int'>, 'package_cache_log_days': <class 'rez.config.Int'>, 'package_cache_max_variant_days': <class 'rez.config.Int'>, 'package_cache_clean_limit': <class 'rez.config.Float'>, 'allow_unversioned_packages': <class 'rez.config.Bool'>, 'rxt_as_yaml': <class 'rez.config.Bool'>, 'package_cache_during_build': <class 'rez.config.Bool'>, 'package_cache_local': <class 'rez.config.Bool'>, 'package_cache_same_device': <class 'rez.config.Bool'>, 'color_enabled': <class 'rez.config.ForceOrBool'>, 'resolve_caching': <class 'rez.config.Bool'>, 'cache_package_files': <class 'rez.config.Bool'>, 'cache_listdir': <class 'rez.config.Bool'>, 'prune_failed_graph': <class 'rez.config.Bool'>, 'all_parent_variables': <class 'rez.config.Bool'>, 'all_resetting_variables': <class 'rez.config.Bool'>, 'package_commands_sourced_first': <class 'rez.config.Bool'>, 'use_variant_shortlinks': <class 'rez.config.Bool'>, 'warn_shell_startup': <class 'rez.config.Bool'>, 'warn_untimestamped': <class 'rez.config.Bool'>, 'warn_all': <class 'rez.config.Bool'>, 'warn_none': <class 'rez.config.Bool'>, 'debug_file_loads': <class 'rez.config.Bool'>, 'debug_plugins': <class 'rez.config.Bool'>, 'debug_package_release': <class 'rez.config.Bool'>, 'debug_bind_modules': <class 'rez.config.Bool'>, 'debug_resources': <class 'rez.config.Bool'>, 'debug_package_exclusions': <class 'rez.config.Bool'>, 'debug_memcache': <class 'rez.config.Bool'>, 'debug_resolve_memcache': <class 'rez.config.Bool'>, 'debug_context_tracking': <class 'rez.config.Bool'>, 'debug_all': <class 'rez.config.Bool'>, 'debug_none': <class 'rez.config.Bool'>, 'quiet': <class 'rez.config.Bool'>, 'show_progress': <class 'rez.config.Bool'>, 'catch_rex_errors': <class 'rez.config.Bool'>, 'default_relocatable': <class 'rez.config.Bool'>, 'set_prompt': <class 'rez.config.Bool'>, 'prefix_prompt': <class 'rez.config.Bool'>, 'warn_old_commands': <class 'rez.config.Bool'>, 'error_old_commands': <class 'rez.config.Bool'>, 'debug_old_commands': <class 'rez.config.Bool'>, 'warn_commands2': <class 'rez.config.Bool'>, 'error_commands2': <class 'rez.config.Bool'>, 'rez_1_environment_variables': <class 'rez.config.Bool'>, 'rez_1_cmake_variables': <class 'rez.config.Bool'>, 'disable_rez_1_compatibility': <class 'rez.config.Bool'>, 'make_package_temporarily_writable': <class 'rez.config.Bool'>, 'read_package_cache': <class 'rez.config.Bool'>, 'write_package_cache': <class 'rez.config.Bool'>, 'env_var_separators': <class 'rez.config.Dict'>, 'variant_select_mode': <class 'rez.config.VariantSelectMode_'>, 'package_filter': <class 'rez.config.OptionalDictOrDictList'>, 'package_orderers': <class 'rez.config.OptionalDictOrDictList'>, 'new_session_popen_args': <class 'rez.config.OptionalDict'>, 'context_tracking_amqp': <class 'rez.config.OptionalDict'>, 'context_tracking_extra_fields': <class 'rez.config.OptionalDict'>, 'optionvars': <class 'rez.config.OptionalDict'>, 'use_pyside': <class 'rez.config.Bool'>, 'use_pyqt': <class 'rez.config.Bool'>, 'gui_threads': <class 'rez.config.Bool'>})
schema_error

alias of rez.exceptions.ConfigurationError

set_prompt

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
shell_error_truncate_cap

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
show_progress

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
sourced_filepaths

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
standard_system_paths

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
suite_alias_prefix_char

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
suite_visibility

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
terminal_emulator_command

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
tmpdir

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
use_pyqt

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
use_pyside

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
validate_data()
validated_data()
variant_select_mode

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warn(key)[source]

Returns True if the warning setting is enabled.

warn_all

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warn_commands2

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warn_none

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warn_old_commands

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warn_shell_startup

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warn_untimestamped

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warning_back

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warning_fore

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
warning_styles

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
write_package_cache

Simple property caching descriptor.

Example

>>> class Foo(object):
>>>     @cached_property
>>>     def bah(self):
>>>         print('bah')
>>>         return 1
>>>
>>> f = Foo()
>>> f.bah
bah
1
>>> f.bah
1
class rez.config.Dict(config, key)[source]

Bases: rez.config.Setting

schema = Schema(<class 'dict'>)
class rez.config.ExecutableScriptMode_(config, key)[source]

Bases: rez.config.Str

schema = Or('single', 'py', 'platform_specific', 'both')
class rez.config.Float(config, key)[source]

Bases: rez.config.Setting

schema = Schema(<class 'float'>)
class rez.config.ForceOrBool(config, key)[source]

Bases: rez.config.Bool

FORCE_STR = 'force'
all_words = frozenset({'0', '1', 'f', 'false', 'force', 'n', 'no', 'off', 'on', 't', 'true', 'y', 'yes'})
schema = Or('force', Schema(<class 'bool'>))
class rez.config.Int(config, key)[source]

Bases: rez.config.Setting

schema = Schema(<class 'int'>)
class rez.config.OptionalBool(config, key)[source]

Bases: rez.config.Bool

schema = Or(None, Schema(<class 'bool'>))
class rez.config.OptionalDict(config, key)[source]

Bases: rez.config.Dict

schema = Or(And(None, Use(<function OptionalDict.<lambda>>)), <class 'dict'>)
class rez.config.OptionalDictOrDictList(config, key)[source]

Bases: rez.config.Setting

schema = Or(And(None, Use(<function OptionalDictOrDictList.<lambda>>)), And(<class 'dict'>, Use(<function OptionalDictOrDictList.<lambda>>)), [<class 'dict'>])
class rez.config.OptionalStr(config, key)[source]

Bases: rez.config.Str

schema = Or(None, <class 'str'>)
class rez.config.OptionalStrList(config, key)[source]

Bases: rez.config.StrList

schema = Or(And(None, Use(<function OptionalStrList.<lambda>>)), [<class 'str'>])
class rez.config.OptionalStrOrFunction(config, key)[source]

Bases: rez.config.Setting

schema = Or(None, <class 'str'>, <built-in function callable>)
class rez.config.PathList(config, key)[source]

Bases: rez.config.StrList

sep = ':'
class rez.config.PipInstallRemaps(config, key)[source]

Bases: rez.config.Setting

Ordered, pip install remappings.

KEYS = ['record_path', 'pip_install', 'rez_install']
PARDIR = '\\.\\.'
RE_TOKENS = {'p': '\\.\\.', 'pardir': '\\.\\.', 's': '/', 'sep': '/'}
SEP = '/'
TOKENS = {'p': '..', 'pardir': '..', 's': '/', 'sep': '/'}
schema = Schema([{'record_path': And(<class 'str'>, <built-in function len>), 'pip_install': And(<class 'str'>, <built-in function len>), 'rez_install': And(<class 'str'>, <built-in function len>)}])
validate(data)[source]

Extended to substitute regex-escaped path tokens.

class rez.config.PreprocessMode_(config, key)[source]

Bases: rez.config.Str

schema = Or('before', 'after', 'override')
class rez.config.RezToolsVisibility_(config, key)[source]

Bases: rez.config.Str

schema = Or('never', 'append', 'prepend')
class rez.config.Setting(config, key)[source]

Bases: object

Setting subclasses implement lazy setting validators.

Note that lazy setting validation only happens on master configuration settings - plugin settings are validated on load only.

schema = Schema(<class 'object'>)
validate(data)[source]
class rez.config.Str(config, key)[source]

Bases: rez.config.Setting

schema = Schema(<class 'str'>)
class rez.config.StrList(config, key)[source]

Bases: rez.config.Setting

schema = Schema([<class 'str'>])
sep = ','
class rez.config.SuiteVisibility_(config, key)[source]

Bases: rez.config.Str

schema = Or('never', 'always', 'parent', 'parent_priority')
class rez.config.VariantSelectMode_(config, key)[source]

Bases: rez.config.Str

schema = Or('version_priority', 'intersection_priority')
rez.config.create_config(overrides=None)[source]

Create a configuration based on the global config.

rez.config.expand_system_vars(data)[source]

Expands any strings within data such as ‘{system.user}’.

rez.config.get_module_root_config()[source]