scaleapi 0.6.0 → 0.7.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05983f0a3662394f37661f6d72b574fca4457ea8
4
- data.tar.gz: 458db94b2b3f182e7a9ecb7bb1d649050654d13b
3
+ metadata.gz: f64310f0a86e358c3276470614a1765d3c159451
4
+ data.tar.gz: 08a1d94d7a89806c4d0797b4fe850f4b0e41bf6a
5
5
  SHA512:
6
- metadata.gz: fcc7a490838414b42b351ce4fb9a729000440f95e86f289e258379d5cbf2d8cc71d19a76a7327139c5c50b2aca537263c03bb24a92cc0a7f72e78432974b909c
7
- data.tar.gz: aed5b344b7c7c48854a56725f8389f06ae32f31f5d4ef13e2605b5ca0da2f1952228b5d90495930507546f4bcc913103130c4e9d801a676ae15cc945482d1348
6
+ metadata.gz: f5c2d38c5c9900a3ff93be46c0dd378794a14e093821470c65aaf2815c9fbf8be8780c326bb718d356231da8018dc83f771215cf0e3428193ae7942ed0dd8d73
7
+ data.tar.gz: f3ac401696810987741e607cc80937e14be0c90e25667985092b92cf1621026c9ae49b2e8bf53f4ecc2531d23a2421324664fe2875b77f17f1b7d59cbf0cb08a
@@ -7,7 +7,7 @@ class Scale
7
7
  class Datacollection < BaseTask
8
8
  CREATE_PATH = 'task/datacollection'.freeze
9
9
 
10
- def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: null, fields: {}, urgency: 'day', metadata: {}, client: nil)
10
+ def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: nil, fields: {}, urgency: 'day', metadata: {}, client: nil)
11
11
  response = client.post(CREATE_PATH, {
12
12
  callback_url: callback_url,
13
13
  instruction: instruction,
@@ -23,4 +23,4 @@ class Scale
23
23
  end
24
24
  end
25
25
  end
26
- end
26
+ end
@@ -7,7 +7,7 @@ class Scale
7
7
  class ImageRecognition < Scale::Api::Tasks::BaseTask
8
8
  CREATE_PATH = 'task/annotation'.freeze
9
9
 
10
- def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: null, objects_to_annotate: [], with_labels: false, min_width: nil, min_height: nil, layers: nil, examples: [], urgency: 'day', metadata: {}, annotation_attributes: nil, client: nil)
10
+ def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: nil, objects_to_annotate: [], with_labels: false, min_width: nil, min_height: nil, layers: nil, examples: [], urgency: 'day', metadata: {}, annotation_attributes: nil, client: nil)
11
11
  response = client.post(CREATE_PATH, {
12
12
  callback_url: callback_url,
13
13
  instruction: instruction,
@@ -7,7 +7,7 @@ class Scale
7
7
  class Lineannotation < Scale::Api::Tasks::BaseTask
8
8
  CREATE_PATH = 'task/lineannotation'.freeze
9
9
 
10
- def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: null, objects_to_annotate: [], with_labels: false, layers: nil, examples: [], urgency: 'day', splines: false, annotation_attributes: nil, metadata: {}, client: nil)
10
+ def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: nil, objects_to_annotate: [], with_labels: false, layers: nil, examples: [], urgency: 'day', splines: false, annotation_attributes: nil, metadata: {}, client: nil)
11
11
  response = client.post(CREATE_PATH, {
12
12
  callback_url: callback_url,
13
13
  instruction: instruction,
@@ -7,7 +7,7 @@ class Scale
7
7
  class Pointannotation < Scale::Api::Tasks::BaseTask
8
8
  CREATE_PATH = 'task/polygonannotation'.freeze
9
9
 
10
- def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: null, objects_to_annotate: [], with_labels: false, layers: nil, examples: [], urgency: 'day', metadata: {}, annotation_attributes: nil, client: nil)
10
+ def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: nil, objects_to_annotate: [], with_labels: false, layers: nil, examples: [], urgency: 'day', metadata: {}, annotation_attributes: nil, client: nil)
11
11
  response = client.post(CREATE_PATH, {
12
12
  callback_url: callback_url,
13
13
  instruction: instruction,
@@ -7,7 +7,7 @@ class Scale
7
7
  class Polygonannotation < Scale::Api::Tasks::BaseTask
8
8
  CREATE_PATH = 'task/polygonannotation'.freeze
9
9
 
10
- def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: null, objects_to_annotate: [], with_labels: false, layers: nil, examples: [], urgency: 'day', metadata: {}, annotation_attributes: nil, client: nil)
10
+ def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: nil, objects_to_annotate: [], with_labels: false, layers: nil, examples: [], urgency: 'day', metadata: {}, annotation_attributes: nil, client: nil)
11
11
  response = client.post(CREATE_PATH, {
12
12
  callback_url: callback_url,
13
13
  instruction: instruction,
@@ -7,7 +7,7 @@ class Scale
7
7
  class Segmentannotation < Scale::Api::Tasks::BaseTask
8
8
  CREATE_PATH = 'task/segmentannotation'.freeze
9
9
 
10
- def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: null, labels: [], allow_unlabeled: false, layers: nil, examples: [], urgency: 'day', metadata: {}, client: nil)
10
+ def self.create(callback_url: nil, instruction: nil, attachment_type: nil, attachment: nil, labels: [], allow_unlabeled: false, layers: nil, examples: [], urgency: 'day', metadata: {}, client: nil)
11
11
  response = client.post(CREATE_PATH, {
12
12
  callback_url: callback_url,
13
13
  instruction: instruction,
@@ -7,7 +7,7 @@ class Scale
7
7
  class Transcription < BaseTask
8
8
  CREATE_PATH = 'task/transcription'.freeze
9
9
 
10
- def self.create(callback_url: nil, instruction: nil, attachment_type: nil, choices: {}, attachment: null, fields: {}, urgency: 'day', metadata: {}, client: nil, repeatable_fields: nil)
10
+ def self.create(callback_url: nil, instruction: nil, attachment_type: nil, choices: {}, attachment: nil, fields: {}, urgency: 'day', metadata: {}, client: nil, repeatable_fields: nil)
11
11
  args = {
12
12
  callback_url: callback_url,
13
13
  instruction: instruction,
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "scaleapi"
7
- spec.version = "0.6.0"
7
+ spec.version = "0.7.0"
8
8
  spec.authors = ["Alexandr Wang"]
9
9
  spec.email = ["alex@scaleapi.com"]
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scaleapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandr Wang