Skip to content

Commit

Permalink
fixed thrift update guide (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
wey-gu authored Oct 26, 2022
1 parent 25eb787 commit 235da8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/how-to-update-interface.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## How to update the generate files when the thrift file had change in repo `https://github.com/vesoft-inc/nebula-common`
## How to update the generate files when the thrift file had change in repo `https://github.com/vesoft-inc/nebula`

- download the thrift binary from oss, the binary file was build under Fedora30

```
wget https://oss-cdn.nebula-graph.com.cn/fbthrift_bin/thrift1
```
- use the binary file `thrift1` and the thrift
files from `https://github.com/vesoft-inc/nebula-common/tree/master/src/common/interface` to generate the interface files
files from `https://github.com/vesoft-inc/nebula/tree/master/src/interface` to generate the interface files

```
./thrift1 --strict --allow-neg-enum-vals --gen "py" -o . common.thrift
Expand Down

0 comments on commit 235da8a

Please sign in to comment.