Skip to content

Commit

Permalink
docs(ingest): update to get_workunits_internal (#9054)
Browse files Browse the repository at this point in the history
  • Loading branch information
eboneil authored Oct 23, 2023
1 parent 8fb95e8 commit 10456c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/adding-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Some sources use the default `SourceReport` class, but others inherit and extend

### 3. Implement the source itself

The core for the source is the `get_workunits` method, which produces a stream of metadata events (typically MCP objects) wrapped up in a MetadataWorkUnit.
The core for the source is the `get_workunits_internal` method, which produces a stream of metadata events (typically MCP objects) wrapped up in a MetadataWorkUnit.
The [file source](./src/datahub/ingestion/source/file.py) is a good and simple example.

The MetadataChangeEventClass is defined in the metadata models which are generated
Expand Down

0 comments on commit 10456c5

Please sign in to comment.