Skip to content

Commit

Permalink
docs(sdk): Update API guide with example for Acryl (#10072)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-lyons authored Mar 18, 2024
1 parent 656f94b commit 1248635
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metadata-ingestion/as-a-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ from datahub.emitter.rest_emitter import DatahubRestEmitter
# Create an emitter to DataHub over REST
emitter = DatahubRestEmitter(gms_server="http://localhost:8080", extra_headers={})

# For Acryl, you will want to point to your Acryl server's GMS endpoint
# emitter = DatahubRestEmitter(gms_server="https://<your-domain>.acryl.io/gms", token="<your token>", extra_headers={})

# Test the connection
emitter.test_connection()

Expand Down

0 comments on commit 1248635

Please sign in to comment.