Skip to content

Commit

Permalink
cleanup api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pgzmnk committed Apr 2, 2024
1 parent 0de04b8 commit a56d86b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions docs/reference/fused/core/_cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,12 @@ implementation of `_cache_async`.

**Examples**:

```py
async def fetch_data(param):
# Async function implementation goes here
return data

# Usage
result = await cache_call_async(fetch_data, 'example_param')
```

11 changes: 4 additions & 7 deletions docs/reference/fused/core/_udf_ops.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ Download the code of a UDF, to be run inline.

- `email_or_id` - Email of the UDF's owner, or name of the UDF to import.
- `id` - Name of the UDF to import. If only the first argument is provided, the current user's email will be used.

Keyword args:
- `cache_key` - Additional cache key for busting the UDF cache
- `cache_key` - Additional cache key for busting the UDF cache.

## load\_udf\_from\_github

Expand All @@ -33,8 +31,7 @@ Download the code of a UDF, to be run inline.
**Arguments**:

- `email_or_id` - Email of the UDF's owner, or name of the UDF to import.
- `id` - Name of the UDF to import. If only the first argument is provided, the current user's email will be used.

Keyword args:
- `cache_key` - Additional cache key for busting the UDF cache
- `id` - Name of the UDF to import. If only the first argument is provided, the current user's email will be used.
- `cache_key` - Additional cache key for busting the UDF cache.


0 comments on commit a56d86b

Please sign in to comment.