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: dictrequires_authentication: boolresource_model_id: strresources: Listuser_access_tokens: DictInitialize self. See help(type(self)) for accurate signature.
strstrShellProxybool - TrueAdd the user to the list of users that can access the app and return the user access token
strstrGenerate the dir for the process. Then inside this dir generate a dir for this app and generate the app configuration file.
strGet the app config for this app instance.
AppConfigGet the directory where the app will be generated
strstrstrAppInstanceUrlGet the hash of the app process. If 2 hash are equal, the app will be running the in the same process. This is used to avoid running the same app in multiple processes.
strGet the type of the app.
AppTypestrstrGet the folder that contains the front build of the app. This folder is created by the task that generates the app.
OptionalstrstrCheck 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.
OptionalShellProxyGet the user id from the user access token If the user does not exist, return None
strOptionalboolboolSet 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
strFolderstrSet the resources of the app
: param resources: description : type resources: List[str]
ListdictSet 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