airbyte-agent-slack 0.1.14__py3-none-any.whl → 0.1.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,9 +17,9 @@ from .models import (
17
17
  ChannelPurpose,
18
18
  ChannelsListResponse,
19
19
  ChannelResponse,
20
- Reaction,
21
20
  Attachment,
22
21
  File,
22
+ Reaction,
23
23
  Message,
24
24
  Thread,
25
25
  EditedInfo,
@@ -81,9 +81,9 @@ __all__ = [
81
81
  "ChannelPurpose",
82
82
  "ChannelsListResponse",
83
83
  "ChannelResponse",
84
- "Reaction",
85
84
  "Attachment",
86
85
  "File",
86
+ "Reaction",
87
87
  "Message",
88
88
  "Thread",
89
89
  "EditedInfo",
@@ -634,9 +634,7 @@ class OAuth2AuthStrategy(AuthStrategy):
634
634
  Headers dict with additional headers added
635
635
  """
636
636
  # Build template context with extracted secret values
637
- template_context = {
638
- key: extract_secret_value(value) for key, value in secrets.items()
639
- }
637
+ template_context = {key: extract_secret_value(value) for key, value in secrets.items()}
640
638
 
641
639
  for header_name, value_template in additional_headers.items():
642
640
  # Use Jinja2 templating for variable substitution
@@ -694,9 +694,7 @@ class LocalExecutor:
694
694
  """
695
695
  return {key: value for key, value in params.items() if key in allowed_fields and value is not None}
696
696
 
697
- def _extract_header_params(
698
- self, endpoint: EndpointDefinition, params: dict[str, Any], body: dict[str, Any] | None = None
699
- ) -> dict[str, str]:
697
+ def _extract_header_params(self, endpoint: EndpointDefinition, params: dict[str, Any], body: dict[str, Any] | None = None) -> dict[str, str]:
700
698
  """Extract header parameters from params and schema defaults.
701
699
 
702
700
  Also adds Content-Type header when there's a request body (unless already specified
@@ -176,14 +176,6 @@ class ChannelResponse(BaseModel):
176
176
  ok: Union[bool, Any] = Field(default=None)
177
177
  channel: Union[Channel, Any] = Field(default=None)
178
178
 
179
- class Reaction(BaseModel):
180
- """Message reaction"""
181
- model_config = ConfigDict(extra="allow", populate_by_name=True)
182
-
183
- name: Union[str | None, Any] = Field(default=None)
184
- users: Union[list[str] | None, Any] = Field(default=None)
185
- count: Union[int | None, Any] = Field(default=None)
186
-
187
179
  class Attachment(BaseModel):
188
180
  """Message attachment"""
189
181
  model_config = ConfigDict(extra="allow", populate_by_name=True)
@@ -229,6 +221,14 @@ class File(BaseModel):
229
221
  created: Union[int | None, Any] = Field(default=None)
230
222
  timestamp: Union[int | None, Any] = Field(default=None)
231
223
 
224
+ class Reaction(BaseModel):
225
+ """Message reaction"""
226
+ model_config = ConfigDict(extra="allow", populate_by_name=True)
227
+
228
+ name: Union[str | None, Any] = Field(default=None)
229
+ users: Union[list[str] | None, Any] = Field(default=None)
230
+ count: Union[int | None, Any] = Field(default=None)
231
+
232
232
  class Message(BaseModel):
233
233
  """Slack message object"""
234
234
  model_config = ConfigDict(extra="allow", populate_by_name=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airbyte-agent-slack
3
- Version: 0.1.14
3
+ Version: 0.1.16
4
4
  Summary: Airbyte Slack Connector for AI platforms
5
5
  Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
6
6
  Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
@@ -113,7 +113,7 @@ async def slack_execute(entity: str, action: str, params: dict | None = None):
113
113
 
114
114
  In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
115
115
 
116
- This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/hosted-execution).
116
+ This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
117
117
 
118
118
  ```python
119
119
  from airbyte_agent_slack import SlackConnector
@@ -154,6 +154,6 @@ For the service's official API docs, see the [Slack API reference](https://api.s
154
154
 
155
155
  ## Version information
156
156
 
157
- - **Package version:** 0.1.14
157
+ - **Package version:** 0.1.16
158
158
  - **Connector version:** 0.1.5
159
- - **Generated with Connector SDK commit SHA:** 1da193dd2b3d4b2e2147ba74bd9a4062a62c4186
159
+ - **Generated with Connector SDK commit SHA:** 49e6dfe93fc406c8d2ed525372608fa2766ebece
@@ -1,11 +1,11 @@
1
- airbyte_agent_slack/__init__.py,sha256=opPBP7DJq2UMJVKuubO2Ov-MmdpD2s-6xEZFFkbe4Yg,3021
1
+ airbyte_agent_slack/__init__.py,sha256=RSQl8MRWObBZ-qHIRkerpwqooFSQFk5_nQWMCuQ4sKI,3021
2
2
  airbyte_agent_slack/connector.py,sha256=C-runzVQOFsrOAM0mEV8pGL4fJfk8vY6TqYPvKq1bNU,29292
3
3
  airbyte_agent_slack/connector_model.py,sha256=e-lj4OySCyhaGYpor6YGQbgLNItRurZVg4HhmE2_R5s,191740
4
- airbyte_agent_slack/models.py,sha256=fybjTwD3PLUvdLynsEzRbhaK0dd6LXGi-tPdn81k6as,22473
4
+ airbyte_agent_slack/models.py,sha256=NBqIp579laht73q1iKw66scVIZ048fxAFL_qeYsF40w,22473
5
5
  airbyte_agent_slack/types.py,sha256=PzLbXxZt3-K9Kux3U_Bn6tW9sTQho_UVoMU_Hqzo5d4,2628
6
6
  airbyte_agent_slack/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
7
7
  airbyte_agent_slack/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
8
- airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py,sha256=Ve7ObJc_A0N99b8ouuicQzVauDunOvFNG1SRKDfV4ag,42110
8
+ airbyte_agent_slack/_vendored/connector_sdk/auth_strategies.py,sha256=5Sb9moUp623o67Q2wMa8iZldJH08y4gQdoutoO_75Iw,42088
9
9
  airbyte_agent_slack/_vendored/connector_sdk/auth_template.py,sha256=nju4jqlFC_KI82ILNumNIyiUtRJcy7J94INIZ0QraI4,4454
10
10
  airbyte_agent_slack/_vendored/connector_sdk/connector_model_loader.py,sha256=SY_Juqw-cap156MsdgrMfe5MAuFdX0vUcSbH5LUYNK0,36295
11
11
  airbyte_agent_slack/_vendored/connector_sdk/constants.py,sha256=AtzOvhDMWbRJgpsQNWl5tkogHD6mWgEY668PgRmgtOY,2737
@@ -21,7 +21,7 @@ airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/__init__.py,sha256=4799H
21
21
  airbyte_agent_slack/_vendored/connector_sdk/cloud_utils/client.py,sha256=YxdRpQr9XjDzih6csSseBVGn9kfMtaqbOCXP0TPuzFY,7189
22
22
  airbyte_agent_slack/_vendored/connector_sdk/executor/__init__.py,sha256=EmG9YQNAjSuYCVB4D5VoLm4qpD1KfeiiOf7bpALj8p8,702
23
23
  airbyte_agent_slack/_vendored/connector_sdk/executor/hosted_executor.py,sha256=ydHcG-biRS1ITT5ELwPShdJW-KYpvK--Fos1ipNgHho,6995
24
- airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py,sha256=AgBQBlYIra7kyWcZtRRWSJLqrPbuDq38j13hoVoWJJA,73863
24
+ airbyte_agent_slack/_vendored/connector_sdk/executor/local_executor.py,sha256=Vg4rPk0sbgXEdYLx2n2Spgj9XrDUWykD2E2o7sWloRM,73849
25
25
  airbyte_agent_slack/_vendored/connector_sdk/executor/models.py,sha256=lYVT_bNcw-PoIks4WHNyl2VY-lJVf2FntzINSOBIheE,5845
26
26
  airbyte_agent_slack/_vendored/connector_sdk/http/__init__.py,sha256=y8fbzZn-3yV9OxtYz8Dy6FFGI5v6TOqADd1G3xHH3Hw,911
27
27
  airbyte_agent_slack/_vendored/connector_sdk/http/config.py,sha256=6J7YIIwHC6sRu9i-yKa5XvArwK2KU60rlnmxzDZq3lw,3283
@@ -52,6 +52,6 @@ airbyte_agent_slack/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU
52
52
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
53
53
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
54
54
  airbyte_agent_slack/_vendored/connector_sdk/telemetry/tracker.py,sha256=Ftrk0_ddfM7dZG8hF9xBuPwhbc9D6JZ7Q9qs5o3LEyA,5579
55
- airbyte_agent_slack-0.1.14.dist-info/METADATA,sha256=t_a9cJkr_7WjnFNoYgRTgGTh2GGuLnKzQfrKpyHE3hM,6426
56
- airbyte_agent_slack-0.1.14.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
- airbyte_agent_slack-0.1.14.dist-info/RECORD,,
55
+ airbyte_agent_slack-0.1.16.dist-info/METADATA,sha256=4ZHpmEZIPjAyQIFa8bcYPO0QMxIGY6PiwHVV1hNrrvo,6437
56
+ airbyte_agent_slack-0.1.16.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
57
+ airbyte_agent_slack-0.1.16.dist-info/RECORD,,