The apply command submits resource definitions to the Featureform instance.The argument can either be a path to a local file or the url of a hosted file. Multiple files can be included at a time.
Upon success, all definitions in the definitions.py (or whatever you choose to call it) file will be sent to the Featureform instance, logged in the metadata, and materialized with the registered providers.After applying new resource definitions, you can use the GET command to see the status of the resources you applied. A resource with the status READY is available for serving.
The DASH command is used to access the featureform dashboard. It returns a URL to the locally hosted dashboard.The dashboard can be viewed at http://localhost:3000 in your browserThe Featureform dashboard:
Featureform dashboard
Each button on the dashboard redirects you to a list of resources of that resource type.
List of registered features
Each resource can then be clicked on to learn more.
The commands are both valid ways to retrieve information on the user “featureformer”.The first is with certification. The second without; the —insecure flag disables the need for the —cert flag
Copy
Ask AI
featureform get user featureformer --host $FEATUREFORM_HOST --cert $FEATUREFORM_CERTfeatureform get user featureformer --insecure --host $FEATUREFORM_HOST
Either command returns the following output.
Copy
Ask AI
USER NAME: featureformerNAME VARIANT TYPEavg_transactions quickstart featurefraudulent quickstart labelfraud_training quickstart training settransactions kaggle sourceaverage_user_transaction quickstart source
Listed below the user are all the resources registered to that user.
The following command shows how to retrieve information on a specific resource, a feature named “avg_transactions”.
Copy
Ask AI
featureform get feature avg_transactions --host $FEATUREFORM_HOST --cert $FEATUREFORM_CERTNAME: avg_transactionsSTATUS: NO_STATUSVARIANTS:quickstart defaultv1v2prodThis would be the output:
featureform list users --host $FEATUREFORM_HOST --cert $FEATUREFORM_CERTfeatureform list users --insecure --host $FEATUREFORM_HOST
The commands are both valid ways to retrieve a list of users. The first is when the user uses a self-signed cert.The following uses the local flag to access resources created and stored in localmode:
Copy
Ask AI
featureform list users –-local
The above commands return the following list of users which have been registered: