🚀Defining of A Config Function
Last updated
Last updated
A hypster config
function is the heart of this framework. It requires of 3 main components:
Hypster comes with the following HP calls:
hp.select()
and hp.multi_select()
for categorical choices
hp.int()
and hp.multi_int()
for integer values
hp.number()
and hp.multi_number()
for numeric values
hp.text()
and hp.multi_text()
for string values
hp.bool()
and hp.multi_bool()
for boolean values
Please note:
All imports must be defined inside the body of the function. This enables the portability of hypster's configuration object.
No return statement is allowed (nor needed). This enables selecting the variables we want to retrieve upon instantiation using final_vars
and exclude_vars
Save configurations to reuse them across projects:
Load saved configurations in two ways: