ReflexApp
Object representing a Reflex app instance. This app instance is used to generate the app code and configuration files.
:param AppInstance: description :type AppInstance: type :return: description :rtype: type
name: strparams: dict | Nonerequires_authentication: boolresource_model_id: strresources: list[gws_core.resource.resource.Resource] | NoneInitialize self. See help(type(self)) for accurate signature.
strstrShellProxybool - TrueClear the Reflex app cache by deleting specific folders. Deletes the following folders if they exist:
- .states
- .web
- assets/external
Get the app config for this app instance.
AppConfigGet the directory where the app will be generated
strGet the type of the app.
AppTypeGet the folder that contains the front build of the app. This folder is created by the task that generates the app.
gws_core.impl.file.folder.Folder | NonestrstrCheck if the front build is already generated. If the build was generated from a previous brick version, it will be deleted and considered as not built.
str | NoneShellProxyGet the source ids of the app
listboolboolboolSet the app config for this app instance. The app config is used to generate the app code and configuration files.
AppConfigFolderSet the directory where the app will be generated
strFolderSet the user to be used in dev mode and return the user access token
strSet the resources of the app
: param resources: description : type resources: List[str]
listbooldictSet if the app requires authentication. By default it requires authentication. If the app does not require authentication, the user access tokens are not used. In this case the system user is used to access the app.
: param requires_authentication: True if the app requires authentication : type requires_authentication: bool
boolAppInstanceDTOUpdate the front build brick version. This is used to update the front build version after the app is generated.
Return true if the app was generated from the given resource model id
strbool