asap.stack package
Submodules
asap.stack.consolidate_transforms module
- class asap.stack.consolidate_transforms.ConsolidateTransforms(schema_type=None, *args, **kwargs)[source]
Bases:
RenderModule
Note
This class takes a ArgSchema as an input to parse inputs , with a default schema of type
ConsolidateTransformsParameters
- default_output_schema
- default_schema
alias of
ConsolidateTransformsParameters
asap.stack.redirect_mipmaps module
change storage directory of imageUrl in a given mipMapLevel
- class asap.stack.redirect_mipmaps.RedirectMipMapsModule(schema_type=None, *args, **kwargs)[source]
Bases:
StackTransitionModule
Note
This class takes a ArgSchema as an input to parse inputs , with a default schema of type
RedirectMipMapsParameters
- default_output_schema
alias of
RedirectMipMapsOutput
- default_schema
alias of
RedirectMipMapsParameters
asap.stack.schemas module
- class asap.stack.schemas.ConsolidateTransformsOutputParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
DefaultSchema
key
description
default
field_type
json_type
output_stack
name of output stack
(REQUIRED)
str
numZ
Number of z values processed
(REQUIRED)
int
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.ConsolidateTransformsParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
RenderParameters
This schema is designed to be a schema_type for an ArgSchemaParser object
key
description
default
field_type
json_type
input_json
file path of input json file
NA
str
output_json
file path to output json file
NA
str
log_level
set the logging level of the module
ERROR
str
render
parameters to connect to render server
(REQUIRED)
dict
stack
stack to consolidate
(REQUIRED)
str
postfix
postfix to add to stack name on saving if no output defined (default _CONS)
_CONS
str
transforms_slice
a string representing a slice describing the set of transforms to be consolidated (i.e. 1:)
slice(None, None, None)
str
output_stack
name of output stack (default to adding postfix to input)
NA
str
pool_size
name of output stack (default to adding postfix to input)
10
int
minZ
minimum z to consolidate in read in from stack and write to output_stack. Default to minimum z in stack
NA
float
maxZ
maximum z to consolidate in read in from stack and write to output_stack. Default to maximum z in stack
NA
float
overwrite_zlayer
whether to remove the existing layer from the target stack before uploading.
False
bool
close_stack
no description
False
bool
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.MipMapDirectories(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
DefaultSchema
key
description
default
field_type
json_type
level
mipMapLevel for which parent directory will be changed
(REQUIRED)
int
directory
directory where relocated mipmaps are found.
(REQUIRED)
str
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.RedirectMipMapsOutput(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
DefaultSchema
key
description
default
field_type
json_type
zValues
no description
(REQUIRED)
int
output_stack
no description
(REQUIRED)
str
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.RedirectMipMapsParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
StackTransitionParameters
This schema is designed to be a schema_type for an ArgSchemaParser object
key
description
default
field_type
json_type
pool_size
no description
1
int
minZ
no description
NA
int
maxZ
no description
NA
int
z
no description
NA
int
zValues
no description
NA
int
input_json
file path of input json file
NA
str
output_json
file path to output json file
NA
str
log_level
set the logging level of the module
ERROR
str
render
parameters to connect to render server
(REQUIRED)
dict
input_stack
no description
(REQUIRED)
str
output_stack
no description
(REQUIRED)
str
close_stack
no description
False
bool
overwrite_zlayer
no description
False
bool
output_stackVersion
no description
NA
dict
new_mipmap_directories
no description
(REQUIRED)
list
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.RemapZsOutput(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
DefaultSchema
key
description
default
field_type
json_type
zValues
no description
(REQUIRED)
int
output_stack
no description
(REQUIRED)
str
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.RemapZsParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
StackTransitionParameters
This schema is designed to be a schema_type for an ArgSchemaParser object
key
description
default
field_type
json_type
pool_size
no description
1
int
minZ
no description
NA
int
maxZ
no description
NA
int
z
no description
NA
int
zValues
no description
NA
int
input_json
file path of input json file
NA
str
output_json
file path to output json file
NA
str
log_level
set the logging level of the module
ERROR
str
render
parameters to connect to render server
(REQUIRED)
dict
input_stack
no description
(REQUIRED)
str
output_stack
no description
(REQUIRED)
str
close_stack
no description
False
bool
overwrite_zlayer
no description
False
bool
output_stackVersion
no description
NA
dict
remap_sectionId
no description
NA
bool
new_zValues
no description
(REQUIRED)
int
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.SwapZsOutput(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
DefaultSchema
key
description
default
field_type
json_type
source_stacks
List of source stacks that have been successfully swapped
(REQUIRED)
str
target_stacks
List of target stacks that have been successfully swapped
(REQUIRED)
str
swapped_zvalues
no description
NA
?
- opts = <marshmallow.schema.SchemaOpts object>
- class asap.stack.schemas.SwapZsParameters(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]
Bases:
RenderParameters
This schema is designed to be a schema_type for an ArgSchemaParser object
key
description
default
field_type
json_type
input_json
file path of input json file
NA
str
output_json
file path to output json file
NA
str
log_level
set the logging level of the module
ERROR
str
render
parameters to connect to render server
(REQUIRED)
dict
source_stack
List of source stacks
(REQUIRED)
str
target_stack
List of target stacks
(REQUIRED)
str
complete_source_stack
set source stack state to complete after copying Default=False
False
bool
complete_target_stack
set target stack state to complete after copying Default=False
False
bool
zValues
no description
NA
?
delete_source_stack
Do you want to delete source stack after copying its contents?. Default=False
False
bool
pool_size
Pool size
5
int
- opts = <marshmallow.schema.SchemaOpts object>