Skip to content

Commit 083e9a6

Browse files
committed
Version 1.4.80
1 parent f710d8f commit 083e9a6

File tree

341 files changed

+1865
-210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+1865
-210
lines changed

abacusai/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
from .memory_options import MemoryOptions
174174
from .messaging_connector_response import MessagingConnectorResponse
175175
from .mobile_app_build_status import MobileAppBuildStatus
176+
from .mobile_build_info import MobileBuildInfo
176177
from .model import Model
177178
from .model_artifacts_export import ModelArtifactsExport
178179
from .model_blueprint_export import ModelBlueprintExport
@@ -296,4 +297,4 @@
296297
from .workflow_node_template import WorkflowNodeTemplate
297298

298299

299-
__version__ = "1.4.79"
300+
__version__ = "1.4.80"

abacusai/application_connector.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ class ApplicationConnector(AbstractApiClass):
1414
createdAt (str): When the API key was created
1515
status (str): The status of the Application Connector
1616
auth (dict): Non-secret connection information for this connector
17+
baseConnector (str): The hashed ID of the config connector this user connector is based on (for config connector flows)
1718
"""
1819

19-
def __init__(self, client, applicationConnectorId=None, service=None, serviceName=None, name=None, createdAt=None, status=None, auth=None):
20+
def __init__(self, client, applicationConnectorId=None, service=None, serviceName=None, name=None, createdAt=None, status=None, auth=None, baseConnector=None):
2021
super().__init__(client, applicationConnectorId)
2122
self.application_connector_id = applicationConnectorId
2223
self.service = service
@@ -25,11 +26,12 @@ def __init__(self, client, applicationConnectorId=None, service=None, serviceNam
2526
self.created_at = createdAt
2627
self.status = status
2728
self.auth = auth
29+
self.base_connector = baseConnector
2830
self.deprecated_keys = {}
2931

3032
def __repr__(self):
31-
repr_dict = {f'application_connector_id': repr(self.application_connector_id), f'service': repr(self.service), f'service_name': repr(
32-
self.service_name), f'name': repr(self.name), f'created_at': repr(self.created_at), f'status': repr(self.status), f'auth': repr(self.auth)}
33+
repr_dict = {f'application_connector_id': repr(self.application_connector_id), f'service': repr(self.service), f'service_name': repr(self.service_name), f'name': repr(
34+
self.name), f'created_at': repr(self.created_at), f'status': repr(self.status), f'auth': repr(self.auth), f'base_connector': repr(self.base_connector)}
3335
class_name = "ApplicationConnector"
3436
repr_str = ',\n '.join([f'{key}={value}' for key, value in repr_dict.items(
3537
) if getattr(self, key, None) is not None and key not in self.deprecated_keys])
@@ -43,7 +45,7 @@ def to_dict(self):
4345
dict: The dict value representation of the class parameters
4446
"""
4547
resp = {'application_connector_id': self.application_connector_id, 'service': self.service, 'service_name': self.service_name,
46-
'name': self.name, 'created_at': self.created_at, 'status': self.status, 'auth': self.auth}
48+
'name': self.name, 'created_at': self.created_at, 'status': self.status, 'auth': self.auth, 'base_connector': self.base_connector}
4749
return {key: value for key, value in resp.items() if value is not None and key not in self.deprecated_keys}
4850

4951
def rename(self, name: str):

abacusai/batch_prediction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(self, client, batchPredictionId=None, createdAt=None, name=None, de
8484
BatchPredictionArgs, globalPredictionArgs)
8585
self.batch_prediction_args = client._build_class(getattr(
8686
api_class, batchPredictionArgsType, BatchPredictionArgs) if batchPredictionArgsType else BatchPredictionArgs, batchPredictionArgs)
87-
self.deprecated_keys = {'explanations', 'global_prediction_args'}
87+
self.deprecated_keys = {'global_prediction_args', 'explanations'}
8888

8989
def __repr__(self):
9090
repr_dict = {f'batch_prediction_id': repr(self.batch_prediction_id), f'created_at': repr(self.created_at), f'name': repr(self.name), f'deployment_id': repr(self.deployment_id), f'file_connector_output_location': repr(self.file_connector_output_location), f'database_connector_id': repr(self.database_connector_id), f'database_output_configuration': repr(self.database_output_configuration), f'file_output_format': repr(self.file_output_format), f'connector_type': repr(self.connector_type), f'legacy_input_location': repr(self.legacy_input_location), f'output_feature_group_id': repr(self.output_feature_group_id), f'feature_group_table_name': repr(self.feature_group_table_name), f'output_feature_group_table_name': repr(self.output_feature_group_table_name), f'summary_feature_group_table_name': repr(self.summary_feature_group_table_name), f'csv_input_prefix': repr(

abacusai/batch_prediction_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def __init__(self, client, batchPredictionVersion=None, batchPredictionId=None,
100100
BatchPredictionArgs, globalPredictionArgs)
101101
self.batch_prediction_args = client._build_class(getattr(
102102
api_class, batchPredictionArgsType, BatchPredictionArgs) if batchPredictionArgsType else BatchPredictionArgs, batchPredictionArgs)
103-
self.deprecated_keys = {'explanations', 'global_prediction_args'}
103+
self.deprecated_keys = {'global_prediction_args', 'explanations'}
104104

105105
def __repr__(self):
106106
repr_dict = {f'batch_prediction_version': repr(self.batch_prediction_version), f'batch_prediction_id': repr(self.batch_prediction_id), f'status': repr(self.status), f'drift_monitor_status': repr(self.drift_monitor_status), f'deployment_id': repr(self.deployment_id), f'model_id': repr(self.model_id), f'model_version': repr(self.model_version), f'predictions_started_at': repr(self.predictions_started_at), f'predictions_completed_at': repr(self.predictions_completed_at), f'database_output_error': repr(self.database_output_error), f'total_predictions': repr(self.total_predictions), f'failed_predictions': repr(self.failed_predictions), f'database_connector_id': repr(self.database_connector_id), f'database_output_configuration': repr(self.database_output_configuration), f'file_connector_output_location': repr(self.file_connector_output_location), f'file_output_format': repr(self.file_output_format), f'connector_type': repr(self.connector_type), f'legacy_input_location': repr(self.legacy_input_location), f'error': repr(self.error), f'drift_monitor_error': repr(self.drift_monitor_error), f'monitor_warnings': repr(self.monitor_warnings), f'csv_input_prefix': repr(

abacusai/chatllm_task.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ class ChatllmTask(AbstractApiClass):
2626
requiresNewConversation (bool): Whether a new conversation is required for the chatllm task.
2727
executionMode (str): The execution mode of the chatllm task.
2828
taskDefinition (dict): The task definition (for web_service_trigger tasks).
29+
hostedDatabaseId (int): The ID of the hosted database for the daemon task.
2930
"""
3031

31-
def __init__(self, client, chatllmTaskId=None, daemonTaskId=None, taskType=None, name=None, instructions=None, description=None, lifecycle=None, scheduleInfo=None, externalApplicationId=None, deploymentConversationId=None, sourceDeploymentConversationId=None, enableEmailAlerts=None, email=None, numUnreadTaskInstances=None, computePointsUsed=None, displayMarkdown=None, requiresNewConversation=None, executionMode=None, taskDefinition=None):
32+
def __init__(self, client, chatllmTaskId=None, daemonTaskId=None, taskType=None, name=None, instructions=None, description=None, lifecycle=None, scheduleInfo=None, externalApplicationId=None, deploymentConversationId=None, sourceDeploymentConversationId=None, enableEmailAlerts=None, email=None, numUnreadTaskInstances=None, computePointsUsed=None, displayMarkdown=None, requiresNewConversation=None, executionMode=None, taskDefinition=None, hostedDatabaseId=None):
3233
super().__init__(client, chatllmTaskId)
3334
self.chatllm_task_id = chatllmTaskId
3435
self.daemon_task_id = daemonTaskId
@@ -49,11 +50,12 @@ def __init__(self, client, chatllmTaskId=None, daemonTaskId=None, taskType=None,
4950
self.requires_new_conversation = requiresNewConversation
5051
self.execution_mode = executionMode
5152
self.task_definition = taskDefinition
53+
self.hosted_database_id = hostedDatabaseId
5254
self.deprecated_keys = {}
5355

5456
def __repr__(self):
5557
repr_dict = {f'chatllm_task_id': repr(self.chatllm_task_id), f'daemon_task_id': repr(self.daemon_task_id), f'task_type': repr(self.task_type), f'name': repr(self.name), f'instructions': repr(self.instructions), f'description': repr(self.description), f'lifecycle': repr(self.lifecycle), f'schedule_info': repr(self.schedule_info), f'external_application_id': repr(self.external_application_id), f'deployment_conversation_id': repr(self.deployment_conversation_id), f'source_deployment_conversation_id': repr(
56-
self.source_deployment_conversation_id), f'enable_email_alerts': repr(self.enable_email_alerts), f'email': repr(self.email), f'num_unread_task_instances': repr(self.num_unread_task_instances), f'compute_points_used': repr(self.compute_points_used), f'display_markdown': repr(self.display_markdown), f'requires_new_conversation': repr(self.requires_new_conversation), f'execution_mode': repr(self.execution_mode), f'task_definition': repr(self.task_definition)}
58+
self.source_deployment_conversation_id), f'enable_email_alerts': repr(self.enable_email_alerts), f'email': repr(self.email), f'num_unread_task_instances': repr(self.num_unread_task_instances), f'compute_points_used': repr(self.compute_points_used), f'display_markdown': repr(self.display_markdown), f'requires_new_conversation': repr(self.requires_new_conversation), f'execution_mode': repr(self.execution_mode), f'task_definition': repr(self.task_definition), f'hosted_database_id': repr(self.hosted_database_id)}
5759
class_name = "ChatllmTask"
5860
repr_str = ',\n '.join([f'{key}={value}' for key, value in repr_dict.items(
5961
) if getattr(self, key, None) is not None and key not in self.deprecated_keys])
@@ -66,6 +68,6 @@ def to_dict(self):
6668
Returns:
6769
dict: The dict value representation of the class parameters
6870
"""
69-
resp = {'chatllm_task_id': self.chatllm_task_id, 'daemon_task_id': self.daemon_task_id, 'task_type': self.task_type, 'name': self.name, 'instructions': self.instructions, 'description': self.description, 'lifecycle': self.lifecycle, 'schedule_info': self.schedule_info, 'external_application_id': self.external_application_id, 'deployment_conversation_id': self.deployment_conversation_id,
70-
'source_deployment_conversation_id': self.source_deployment_conversation_id, 'enable_email_alerts': self.enable_email_alerts, 'email': self.email, 'num_unread_task_instances': self.num_unread_task_instances, 'compute_points_used': self.compute_points_used, 'display_markdown': self.display_markdown, 'requires_new_conversation': self.requires_new_conversation, 'execution_mode': self.execution_mode, 'task_definition': self.task_definition}
71+
resp = {'chatllm_task_id': self.chatllm_task_id, 'daemon_task_id': self.daemon_task_id, 'task_type': self.task_type, 'name': self.name, 'instructions': self.instructions, 'description': self.description, 'lifecycle': self.lifecycle, 'schedule_info': self.schedule_info, 'external_application_id': self.external_application_id, 'deployment_conversation_id': self.deployment_conversation_id, 'source_deployment_conversation_id': self.source_deployment_conversation_id,
72+
'enable_email_alerts': self.enable_email_alerts, 'email': self.email, 'num_unread_task_instances': self.num_unread_task_instances, 'compute_points_used': self.compute_points_used, 'display_markdown': self.display_markdown, 'requires_new_conversation': self.requires_new_conversation, 'execution_mode': self.execution_mode, 'task_definition': self.task_definition, 'hosted_database_id': self.hosted_database_id}
7173
return {key: value for key, value in resp.items() if value is not None and key not in self.deprecated_keys}

0 commit comments

Comments
 (0)