cf.DomainAxis.creation_commands¶
-
DomainAxis.creation_commands(representative_data=False, namespace='cf', indent=0, string=True, name='c')[source]¶ Return the commands that would create the domain axis construct.
New in version 3.2.0.
See also
- Parameters
- representative_data:
bool, optional Ignored.
- namespace:
str, optional The namespace containing classes of the
cfpackage. This is prefixed to the class name in commands that instantiate instances ofcfobjects. By default, namespace is'cf', i.e. it is assumed thatcfwas imported asimport cf.- Parameter example:
If
cfwas imported asimport cf as cfpthen setnamespace='cfp'- Parameter example:
If
cfwas imported asfrom cf import *then setnamespace=''
- indent:
int, optional Indent each line by this many spaces. By default no indentation is applied. Ignored if string is False.
- string:
bool, optional If False then return each command as an element of a
list. By default the commands are concatenated into a string, with a new line inserted between each command.
- representative_data:
- Returns
Examples:
TODO