-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,29 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
"""Client and server classes corresponding to protobuf-defined services.""" | ||
import grpc | ||
import warnings | ||
|
||
|
||
GRPC_GENERATED_VERSION = '1.64.1' | ||
GRPC_VERSION = grpc.__version__ | ||
EXPECTED_ERROR_RELEASE = '1.65.0' | ||
SCHEDULED_RELEASE_DATE = 'June 25, 2024' | ||
_version_not_supported = False | ||
|
||
try: | ||
from grpc._utilities import first_version_is_lower | ||
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) | ||
except ImportError: | ||
_version_not_supported = True | ||
|
||
if _version_not_supported: | ||
warnings.warn( | ||
f'The grpc package installed is at version {GRPC_VERSION},' | ||
+ f' but the generated code in amino/amino_pb2_grpc.py depends on' | ||
+ f' grpcio>={GRPC_GENERATED_VERSION}.' | ||
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' | ||
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' | ||
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},' | ||
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.', | ||
RuntimeWarning | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,29 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
"""Client and server classes corresponding to protobuf-defined services.""" | ||
import grpc | ||
import warnings | ||
|
||
|
||
GRPC_GENERATED_VERSION = '1.64.1' | ||
GRPC_VERSION = grpc.__version__ | ||
EXPECTED_ERROR_RELEASE = '1.65.0' | ||
SCHEDULED_RELEASE_DATE = 'June 25, 2024' | ||
_version_not_supported = False | ||
|
||
try: | ||
from grpc._utilities import first_version_is_lower | ||
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) | ||
except ImportError: | ||
_version_not_supported = True | ||
|
||
if _version_not_supported: | ||
warnings.warn( | ||
f'The grpc package installed is at version {GRPC_VERSION},' | ||
+ f' but the generated code in cosmos/app/runtime/v1alpha1/module_pb2_grpc.py depends on' | ||
+ f' grpcio>={GRPC_GENERATED_VERSION}.' | ||
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' | ||
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' | ||
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},' | ||
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.', | ||
RuntimeWarning | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,29 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
"""Client and server classes corresponding to protobuf-defined services.""" | ||
import grpc | ||
import warnings | ||
|
||
|
||
GRPC_GENERATED_VERSION = '1.64.1' | ||
GRPC_VERSION = grpc.__version__ | ||
EXPECTED_ERROR_RELEASE = '1.65.0' | ||
SCHEDULED_RELEASE_DATE = 'June 25, 2024' | ||
_version_not_supported = False | ||
|
||
try: | ||
from grpc._utilities import first_version_is_lower | ||
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) | ||
except ImportError: | ||
_version_not_supported = True | ||
|
||
if _version_not_supported: | ||
warnings.warn( | ||
f'The grpc package installed is at version {GRPC_VERSION},' | ||
+ f' but the generated code in cosmos/app/v1alpha1/config_pb2_grpc.py depends on' | ||
+ f' grpcio>={GRPC_GENERATED_VERSION}.' | ||
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' | ||
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' | ||
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},' | ||
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.', | ||
RuntimeWarning | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,29 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
"""Client and server classes corresponding to protobuf-defined services.""" | ||
import grpc | ||
import warnings | ||
|
||
|
||
GRPC_GENERATED_VERSION = '1.64.1' | ||
GRPC_VERSION = grpc.__version__ | ||
EXPECTED_ERROR_RELEASE = '1.65.0' | ||
SCHEDULED_RELEASE_DATE = 'June 25, 2024' | ||
_version_not_supported = False | ||
|
||
try: | ||
from grpc._utilities import first_version_is_lower | ||
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) | ||
except ImportError: | ||
_version_not_supported = True | ||
|
||
if _version_not_supported: | ||
warnings.warn( | ||
f'The grpc package installed is at version {GRPC_VERSION},' | ||
+ f' but the generated code in cosmos/app/v1alpha1/module_pb2_grpc.py depends on' | ||
+ f' grpcio>={GRPC_GENERATED_VERSION}.' | ||
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' | ||
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' | ||
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},' | ||
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.', | ||
RuntimeWarning | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,29 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
"""Client and server classes corresponding to protobuf-defined services.""" | ||
import grpc | ||
import warnings | ||
|
||
|
||
GRPC_GENERATED_VERSION = '1.64.1' | ||
GRPC_VERSION = grpc.__version__ | ||
EXPECTED_ERROR_RELEASE = '1.65.0' | ||
SCHEDULED_RELEASE_DATE = 'June 25, 2024' | ||
_version_not_supported = False | ||
|
||
try: | ||
from grpc._utilities import first_version_is_lower | ||
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) | ||
except ImportError: | ||
_version_not_supported = True | ||
|
||
if _version_not_supported: | ||
warnings.warn( | ||
f'The grpc package installed is at version {GRPC_VERSION},' | ||
+ f' but the generated code in cosmos/auth/module/v1/module_pb2_grpc.py depends on' | ||
+ f' grpcio>={GRPC_GENERATED_VERSION}.' | ||
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' | ||
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' | ||
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},' | ||
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.', | ||
RuntimeWarning | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.