Skip to content

Commit

Permalink
Add examples section in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmai committed Feb 21, 2019
1 parent e4e8a87 commit 4401887
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and understand how to run and work with Dgraph.
- [Commit a transaction](#commit-a-transaction)
- [Cleanup Resources](#cleanup-resources)
- [Setting Metadata Headers](#setting-metadata-headers)
- [Examples](#examples)
- [Development](#development)
- [Building the source](#building-the-source)
- [Running tests](#running-tests)
Expand Down Expand Up @@ -300,6 +301,13 @@ metadata = [("auth-token", "the-auth-token-value")]
dg.alter(op, metadata=metadata)
```

## Examples

- [simple][]: Quickstart example of using pydgraph.
- [tls][]: Example of using pydgraph with a Dgraph cluster secured with TLS.

[tls]: https://github.com/dgraph-io/pydgraph/tree/master/examples/tls

## Development

### Building the source
Expand Down

0 comments on commit 4401887

Please sign in to comment.