-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Is this a bug or a feature request?
Feature Request
What did you expect?
Have Python stubs where programmers can communicate with chirpstack api. I would like to make this contribution and I am in the middle of generating the stubs. However, I do have some questions regarding how to generate and structure files.
-
How would you manage the as as a keyword in Python?
When I try to import the files, I got an invalid syntax error due the use of "as" that in this case it's a reserved keyword in Pyhton, when generating the client code. -
How would be the tree structure folder you expect to have for python folder?
Currently, this is the output that I got, this is something that you would like to sort in a way that can fit with the current js and rust folders?
src
└── gen
├── as_pb
│ ├── as
│ │ ├── as_pb2_grpc.py
│ │ └── as_pb2.py
│ ├── external
│ │ └── api
│ │ └── as
│ │ └── external
│ │ └── api
│ │ ├── application_pb2_grpc.py
│ │ ├── application_pb2.py
│ │ ├── device_pb2_grpc.py
│ │ ├── device_pb2.py
│ │ ├── deviceProfile_pb2_grpc.py
│ │ ├── deviceProfile_pb2.py
│ │ ├── deviceQueue_pb2_grpc.py
│ │ ├── deviceQueue_pb2.py
│ │ ├── frameLog_pb2_grpc.py
│ │ ├── frameLog_pb2.py
│ │ ├── fuotaDeployment_pb2_grpc.py
│ │ ├── fuotaDeployment_pb2.py
│ │ ├── gateway_pb2_grpc.py
│ │ ├── gateway_pb2.py
│ │ ├── gatewayProfile_pb2_grpc.py
│ │ ├── gatewayProfile_pb2.py
│ │ ├── internal_pb2_grpc.py
│ │ ├── internal_pb2.py
│ │ ├── multicastGroup_pb2_grpc.py
│ │ ├── multicastGroup_pb2.py
│ │ ├── networkServer_pb2_grpc.py
│ │ ├── networkServer_pb2.py
│ │ ├── organization_pb2_grpc.py
│ │ ├── organization_pb2.py
│ │ ├── profiles_pb2_grpc.py
│ │ ├── profiles_pb2.py
│ │ ├── serviceProfile_pb2_grpc.py
│ │ ├── serviceProfile_pb2.py
│ │ ├── user_pb2_grpc.py
│ │ └── user_pb2.py
│ └── integration
│ └── as
│ └── integration
│ └── integration_pb2.py
├── common
│ └── common
│ └── common_pb2.py
├── geo
│ └── geo
│ ├── geo_pb2_grpc.py
│ └── geo_pb2.py
├── gw
│ └── gw
│ └── gw_pb2.py
├── nc
│ └── nc
│ ├── nc_pb2_grpc.py
│ └── nc_pb2.py
├── ns
│ └── ns
│ ├── ns_pb2_grpc.py
│ ├── ns_pb2.py
│ └── profiles_pb2.py
└── protobuf
└── google
└── protobuf
└── empty_pb2.py
What happened?
Not Required
What version are your using?
Not Required
How can your issue be reproduced?
Not Required
Could you share your log output?
Not Required