Skip to content

Commit

Permalink
Opt: add the README notes
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed May 9, 2023
1 parent e4ec436 commit da3fba0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

### `.proto` definition

It's not needed for `pure-protobuf`, but for the sake of an example, let's consider the following definition:

```protobuf
syntax = "proto3";

Expand All @@ -33,6 +35,8 @@ message SearchRequest {
}
```

And here's the same via `pure-protobuf`:

### With [dataclasses](https://docs.python.org/3/library/dataclasses.html)

```python title="dataclass_example.py"
Expand Down

0 comments on commit da3fba0

Please sign in to comment.