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

fix punctuation and "api" #673

Merged
merged 1 commit into from
Oct 5, 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
20 changes: 10 additions & 10 deletions docs/website/docs/examples/transformers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ keywords: [transformers, parallelism, example]
import Header from '../_examples-header.md';

<Header
intro="In this example you will learn how load a list of pokemon from the pokeapi and with the help of dlt transformers
automatically query additional data per retrieved pokemon. You will also learn how to harness parallelism with a thread pool."
intro="In this example, you will learn how to load a list of Pokemon from the PokeAPI and with the help of dlt transformers
automatically query additional data per retrieved Pokemon. You will also learn how to harness parallelism with a thread pool."
slug="transformer"
run_file="pokemon" />


## Using transformers with the pokemon api
## Using transformers with the Pokemon API

For this example we will be loading pokemon data from the [Poke Api](https://pokeapi.co/) with the help of transformers to load
pokemon details in parallel
For this example, we will be loading Pokemon data from the [PokeAPI](https://pokeapi.co/) with the help of transformers to load
Pokemon details in parallel.

We'll learn how to:
- create 2 [transformers](../../general-usage/resource.md#feeding-data-from-one-resource-into-another) and connect them to a resource with the pipe operator `|`
- [load these transformers in parallel](../../reference/performance.md#parallelism) using the `@dlt.defer` decorator
- [configure parallelism](../../reference/performance.md#parallel-pipeline-config-example) in the `config.toml` file
- deselect the main resource so it will not be loaded into the database.
- importing and using a pre-configured `requests` library with automatic retries (`from dlt.sources.helpers import requests`)
- create 2 [transformers](../../general-usage/resource.md#feeding-data-from-one-resource-into-another) and connect them to a resource with the pipe operator `|`;
- [load these transformers in parallel](../../reference/performance.md#parallelism) using the `@dlt.defer` decorator;
- [configure parallelism](../../reference/performance.md#parallel-pipeline-config-example) in the `config.toml` file;
- deselect the main resource, so it will not be loaded into the database;
- importing and using a pre-configured `requests` library with automatic retries (`from dlt.sources.helpers import requests`).

### Loading code

Expand Down