Skip to content

Commit 4059024

Browse files
author
Anton Sauchyk
committed
docs: minor fix
1 parent 78f9ad3 commit 4059024

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,11 @@ uv run --with grpcio-tools -- python -m grpc_tools.protoc \
110110
The protoc generates the code with absolute imports. Since we placed the generated files to the `generated` folder, we need to fix imports to avoid errors during the further steps:
111111

112112
1. In `geyser_pb2.py`:
113-
- **Change from:** `import solana_storage_pb2 as solana__storage__pb2`
114-
- **Change to:** `from . import solana_storage_pb2 as solana__storage__pb2`
115-
116-
- **Change from**: `from solana_storage_pb2 import *`
117-
- **Change to**: `from .solana_storage_pb2 import *`
113+
- Change from `import solana_storage_pb2 as solana__storage__pb2` to `from . import solana_storage_pb2 as solana__storage__pb2`.
114+
- Change from `from solana_storage_pb2 import *` to `from .solana_storage_pb2 import *`.
118115

119116
2. In `geyser_pb2_grpc.py`:
120-
- **Change from:** `import geyser_pb2 as geyser__pb2`
121-
- **Change to:** `from . import geyser_pb2 as geyser__pb2`
117+
- Change from `import geyser_pb2 as geyser__pb2` to `from . import geyser_pb2 as geyser__pb2`.
122118

123119
### Step 3: Environment configuration
124120

0 commit comments

Comments
 (0)