multiwoven-integrations 0.15.1 → 0.15.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8185efd26268063fe1bea73d4c243187cd967403bddc1947105655a36bfdec47
4
- data.tar.gz: 68fb1a68da8b7016b97fdd45cdcc1c5467e5d23db3e34a0582e74bde009495b4
3
+ metadata.gz: 01e55a5a02e62950e366a99127c0531d994ba547895a09641d06f77df462b7f3
4
+ data.tar.gz: 0d7194c4d0b7f823607acd0f8e5ace01b381090707811599e126941b2de8404a
5
5
  SHA512:
6
- metadata.gz: 538874f8543a2462cba10b956117426a8a7f623944e7c51d245061657dc293577daebf5c95771c5bfd84f99247872a370195bfde09a874f54c61c6ef8a43b795
7
- data.tar.gz: d3ab475811feb62450b598d3673fe04deec54cb3945801851abcf2de94c0f69c480a03b49b8cddd78cefe1a09aa64fb1dd23d25c37fcbfbd511f393c26a0a6b4
6
+ metadata.gz: 144ac424ba8610d81af8f4e6e2b9fb7393960557db4ed89f7a2405c9b6649bd114a160e477d8e803fb774654b21e083bdf4f6b5fa65b79cfc21c3da7857c5542
7
+ data.tar.gz: bfa1840c3d5beffd213b7de986d21e97365a621b8e6839aa0dfec32fcd316201a6da30f9a4fe4ae03bb810371f439420b9000d6e18e02cdd12edb2396bb1468d
@@ -10,8 +10,11 @@ module Multiwoven
10
10
  http.use_ssl = (uri.scheme == "https")
11
11
 
12
12
  # Set timeout if provided
13
- http.open_timeout = config[:timeout] if config[:timeout]
14
- http.read_timeout = config[:timeout] if config[:timeout]
13
+ if config[:timeout]
14
+ timeout_value = config[:timeout].to_f
15
+ http.open_timeout = timeout_value
16
+ http.read_timeout = timeout_value
17
+ end
15
18
 
16
19
  request = build_request(method, uri, payload, headers)
17
20
  http.request(request)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.15.1"
5
+ VERSION = "0.15.3"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -4,7 +4,7 @@
4
4
  "connector_query_type": "ai_ml",
5
5
  "connection_specification": {
6
6
  "$schema": "http://json-schema.org/draft-07/schema#",
7
- "title": "Http Model Endpoint",
7
+ "title": "HTTP Model Endpoint",
8
8
  "type": "object",
9
9
  "required": ["url_host"],
10
10
  "properties": {
@@ -14,7 +14,8 @@
14
14
  "order": 0
15
15
  },
16
16
  "headers": {
17
- "title": "Http Headers",
17
+ "title": "HTTP Headers",
18
+ "description": "Custom headers to include in the HTTP request. Useful for authentication, content type specifications, and other request metadata.",
18
19
  "order": 1,
19
20
  "additionalProperties": {
20
21
  "type": "string"
@@ -25,10 +26,10 @@
25
26
  "type": "object",
26
27
  "properties": {
27
28
  "timeout": {
28
- "type": "integer",
29
- "minimum": 0,
30
- "default": 30,
31
- "title": "Http Timeout",
29
+ "type": "string",
30
+ "default": "30",
31
+ "title": "HTTP Timeout",
32
+ "description": "The maximum time, in seconds, to wait for a response from the server before the request is canceled.",
32
33
  "order": 0
33
34
  }
34
35
  },
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-13 00:00:00.000000000 Z
11
+ date: 2024-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport