Skip to content

Commit

Permalink
[DEGR-2545] Improve Functions docs (#1375)
Browse files Browse the repository at this point in the history
  • Loading branch information
HMEiding authored Sep 21, 2023
1 parent cac8a5d commit c48c754
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cognite/client/_api/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ def create(
- If the user gives one or more secrets when creating the function, these are passed through the `secrets` argument.
- Data about the function call can be accessed via the argument `function_call_info`, which is a dictionary with keys `function_id` and, if the call is scheduled, `schedule_id` and `scheduled_time`.
By default, the function is deployed with the latest version of cognite-sdk. If a specific version is desired, it can be specified either in a requirements.txt file when deploying via the `folder` argument or between `[requirements]` tags when deploying via the `function_handle` argument (see example below).
For help with troubleshooting, please see `this page. <https://docs.cognite.com/cdf/functions/known_issues/>`_
Args:
name (str): The name of the function.
folder (str | None): Path to the folder where the function source code is located.
Expand Down

0 comments on commit c48c754

Please sign in to comment.