Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update component docs #516

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/components/custom_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ class ExampleComponent(PandasTransformComponent):
```

The `__init__` method is called once for each component class with custom arguments defined in the
`args` section of the [component specification](../components/component_spec.md).)
`args` section of the [component specification](../components/component_spec.md).) This is a good
place to initialize resources and costly initializations such as network connections, models,
parsing a config file, etc. By doing so, you can effectively prevent the redundant re-initialization
of resources each time the `transform` method is invoked.

The `transform` method is called multiple times, each time containing a pandas `dataframe`
with a partition of your data loaded in memory.
Expand Down
Loading