Skip to content

Commit

Permalink
Merge pull request #35 from astuto-ai/pu/update_python_client
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjal-astuto authored Nov 19, 2024
2 parents 652f0d1 + 3af0f89 commit 2b80be2
Show file tree
Hide file tree
Showing 9 changed files with 3,290 additions and 18 deletions.
929 changes: 915 additions & 14 deletions onelens_backend_client_v2/models.py

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions onelens_backend_client_v2/rpc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,26 @@
TenantConnectionServiceRpcHandler,
)

from onelens_backend_client_v2.rpc.navira_conversation_service_rpc_handler import (
NaviraConversationServiceRpcHandler,
)

from onelens_backend_client_v2.rpc.feature_service_rpc_handler import (
FeatureServiceRpcHandler,
)

from onelens_backend_client_v2.rpc.ticket_status_metadata_service_rpc_handler import (
TicketStatusMetadataServiceRpcHandler,
)

from onelens_backend_client_v2.rpc.metrics_control_service_rpc_handler import (
MetricsControlServiceRpcHandler,
)

from onelens_backend_client_v2.rpc.tenant_ticket_audit_service_rpc_handler import (
TenantTicketAuditServiceRpcHandler,
)


__all__ = [
"TenantVerifyServiceRpcHandler",
Expand Down Expand Up @@ -139,5 +155,9 @@
"NaviraServiceRpcHandler",
"ActionTypeMigrationServiceRpcHandler",
"TenantConnectionServiceRpcHandler",
"NaviraConversationServiceRpcHandler",
"FeatureServiceRpcHandler",
"TicketStatusMetadataServiceRpcHandler",
"MetricsControlServiceRpcHandler",
"TenantTicketAuditServiceRpcHandler",
]
8 changes: 4 additions & 4 deletions onelens_backend_client_v2/rpc/feature_service_rpc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from onelens_backend_client_v2.models import GetAllFeaturesResponse


from onelens_backend_client_v2.models import APIGetFeaturesByFiltersRequest
from onelens_backend_client_v2.models import GetFeaturesByFiltersRequest


from onelens_backend_client_v2.models import GetFeaturesByFiltersResponse
Expand Down Expand Up @@ -164,7 +164,7 @@ def _get_all_serialize(
@validate_call
def get_features_by_filters(
self,
request: APIGetFeaturesByFiltersRequest,
request: GetFeaturesByFiltersRequest,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -182,7 +182,7 @@ def get_features_by_filters(
:param request: (required)
:type request: APIGetFeaturesByFiltersRequest
:type request: GetFeaturesByFiltersRequest
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand Down Expand Up @@ -228,7 +228,7 @@ def get_features_by_filters(

def _get_features_by_filters_serialize(
self,
request: APIGetFeaturesByFiltersRequest,
request: GetFeaturesByFiltersRequest,
_request_auth,
_content_type,
_headers,
Expand Down
Loading

0 comments on commit 2b80be2

Please sign in to comment.