Create attractive VASL scenarios, with loads of useful information embedded to assist with game play. https://vasl-templates.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
vasl-templates/vasl_templates/webapp/tests/proto/set_app_config_val_request.py

14 lines
510 B

""" Injected functions for SetAppConfigValRequest. """
# ---------------------------------------------------------------------
def brief( self ):
"""Return a SetAppConfigValRequest as a brief string."""
for val_type in ( "strVal", "intVal", "boolVal" ):
if self.HasField( val_type ):
val = getattr( self, val_type )
return "{} = {} ({})".format(
self.key, val, type(val).__name__
)
assert False
return "{} = ???".format( self.key )