anatools 5.1.27__py3-none-any.whl → 5.1.28__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.
anatools/__init__.py CHANGED
@@ -16,4 +16,4 @@ View the `Introduction to Rendered.ai Documentation`_ to learn more.
16
16
  from .anaclient.anaclient import client
17
17
  from .annotations.annotations import annotations
18
18
 
19
- __version__ = '5.1.27'
19
+ __version__ = '5.1.28'
@@ -53,7 +53,7 @@ def getDatasetJobs(self, organizationId, workspaceId, datasetId=None, cursor=Non
53
53
  return self.errorhandler(response, "getDatasetJobs")
54
54
 
55
55
 
56
- def createDataset(self, workspaceId, graphId, name, description=None, runs=1, seed=0, priority=1, tags=[]):
56
+ def createDataset(self, workspaceId, graphId, name, description=None, runs=1, seed=0, priority=1, compressDataset=True, tags=[]):
57
57
  response = self.session.post(
58
58
  url = self.url,
59
59
  headers = self.headers,
@@ -67,11 +67,12 @@ def createDataset(self, workspaceId, graphId, name, description=None, runs=1, se
67
67
  "runs": runs,
68
68
  "seed": seed,
69
69
  "priority": priority,
70
+ "compressDataset": compressDataset,
70
71
  "tags": tags
71
72
  },
72
73
  "query": """mutation
73
- createDataset($workspaceId: String!, $graphId: String!, $name: String!, $description: String, $runs: Int!, $seed: Int!, $priority: Int!, $tags: [String]) {
74
- createDataset(workspaceId: $workspaceId, graphId: $graphId, name: $name, description: $description, runs: $runs, seed: $seed, priority: $priority, tags: $tags)
74
+ createDataset($workspaceId: String!, $graphId: String!, $name: String!, $description: String, $runs: Int!, $seed: Int!, $priority: Int!, $compressDataset: Boolean, $tags: [String]) {
75
+ createDataset(workspaceId: $workspaceId, graphId: $graphId, name: $name, description: $description, runs: $runs, seed: $seed, priority: $priority, compressDataset: $compressDataset, tags: $tags)
75
76
  }"""})
76
77
  return self.errorhandler(response, "createDataset")
77
78
 
@@ -79,7 +79,7 @@ def get_dataset_jobs(self, organizationId=None, workspaceId=None, datasetId=None
79
79
  return jobs
80
80
 
81
81
 
82
- def create_dataset(self, name, graphId, description='', runs=1, priority=1, seed=1, tags=[], workspaceId=None):
82
+ def create_dataset(self, name, graphId, description='', runs=1, priority=1, seed=1, compressDataset=True, tags=[], workspaceId=None):
83
83
  """Create a new synthetic dataset using a graph in the workspace. This will start a new dataset job in the workspace.
84
84
 
85
85
  Parameters
@@ -96,6 +96,8 @@ def create_dataset(self, name, graphId, description='', runs=1, priority=1, seed
96
96
  Job priority.
97
97
  seed : int
98
98
  Seed number.
99
+ compressDataset : bool
100
+ Whether to compress the dataset. If false, the dataset asset will be accessed through mount_workspaces.
99
101
  tags : list[str]
100
102
  Tags for new dataset.
101
103
  workspaceId : str
@@ -111,7 +113,7 @@ def create_dataset(self, name, graphId, description='', runs=1, priority=1, seed
111
113
  if graphId is None: raise ValueError("The graphId parameter is required!")
112
114
  if description is None: description = ''
113
115
  if workspaceId is None: workspaceId = self.workspace
114
- return self.ana_api.createDataset(workspaceId=workspaceId, graphId=graphId, name=name, description=description, runs=runs, seed=seed, priority=priority, tags=tags)
116
+ return self.ana_api.createDataset(workspaceId=workspaceId, graphId=graphId, name=name, description=description, runs=runs, seed=seed, priority=priority, compressDataset=compressDataset, tags=tags)
115
117
 
116
118
 
117
119
  def edit_dataset(self, datasetId, description=None, name=None, pause=None, priority=None, tags=None, workspaceId=None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anatools
3
- Version: 5.1.27
3
+ Version: 5.1.28
4
4
  Summary: Tools for development with the Rendered.ai Platform.
5
5
  Home-page: https://rendered.ai
6
6
  Author: Rendered AI, Inc
@@ -1,4 +1,4 @@
1
- anatools/__init__.py,sha256=2ym595AIVjd4ieIeWkzEuMYJesgPzbd_KKauRFjmdk8,954
1
+ anatools/__init__.py,sha256=7ItKjUCSAbJQxoFoI6KVI0k_Qw_mnNgzQAVMrxGVh_I,954
2
2
  anatools/anacreate.py,sha256=wK1GKxGSzFdeQtqBkGhpai1sFjSJaKZ2686zrVJPBd0,5622
3
3
  anatools/anaclient/__init__.py,sha256=tjCd-MMkWOjhjY1mlbGtHNhEdHLj-W687GiYJHsf_J0,50
4
4
  anatools/anaclient/_menu.py,sha256=WSD8h7_SPRq9F6I0ohzkA4L0aLUx7L9YtIihk9eiD_o,5965
@@ -8,7 +8,7 @@ anatools/anaclient/analytics.py,sha256=uqJ3AqJ2pf_vZNE10GRVBU_ODhAQI5yrA9eF9r3GU
8
8
  anatools/anaclient/annotations.py,sha256=o_rHIdFlf8qGhN1cE5ZqoMWH0RmbElgJVNJ2yMfgw8A,10959
9
9
  anatools/anaclient/api_keys.py,sha256=s5dmKxAJjSK-QDEc3IVW0v_T9-y8hVjuIuVXEKfkB2U,2750
10
10
  anatools/anaclient/channels.py,sha256=VzqV2wsoZ3-we1PSf8JTOell9ez9IJ1ndj3oNQ5-f2M,23942
11
- anatools/anaclient/datasets.py,sha256=fOp6H3ODFRp4QrhrsLHxn8frsQVPIiWEyiEpcqOf-oY,14617
11
+ anatools/anaclient/datasets.py,sha256=1HqdtAo0sv9RNg_Ne2iQ_vLpu_hrTNHtOFL78yAD7WQ,14811
12
12
  anatools/anaclient/editor.py,sha256=ETSV8SuEt0VkTS7Xx_ONJCBQXlLrmUM7mER75O183Ls,40883
13
13
  anatools/anaclient/gan.py,sha256=hJpF_SIue1_0IPP8CdO8sgJCavQipDp-d_Ji7MM2dcY,8664
14
14
  anatools/anaclient/graphs.py,sha256=8tTkFtdHW3dW4_5ZrIW0-K7EZQ4cYLDKMUe7wdKGjk0,8457
@@ -30,7 +30,7 @@ anatools/anaclient/api/annotations.py,sha256=zbdYjc4dEDqVv39ILZlwzu9OJQfAUyaNl0N
30
30
  anatools/anaclient/api/api.py,sha256=Mi-xehaizLy9PFk-peqkvmin6O-LATkJOICW5_GMYAk,7925
31
31
  anatools/anaclient/api/api_keys.py,sha256=6dhTAjyQY_qaBtUqziWdu_c7Jo5HrCX0OTiN4Kbruyw,3995
32
32
  anatools/anaclient/api/channels.py,sha256=ijXf51PKKHFSatInZaNvIR1LMsQeRpcoEJf00b5I3DU,8099
33
- anatools/anaclient/api/datasets.py,sha256=C1j-IdOR9kVp8KnDRJJ5yl1al4IbIoIenrqfmVeZDoY,11361
33
+ anatools/anaclient/api/datasets.py,sha256=Zm4U6d8swGPy3-iyw4Yc_QBvAyAMVt6Vyq3LjMDXe6g,11497
34
34
  anatools/anaclient/api/editor.py,sha256=TDwE9G0PLhp0jv6mUnrwpAyHpS0LPce-1NauM40mPRU,10112
35
35
  anatools/anaclient/api/gan.py,sha256=iAU7ibfqprGj4bMTkUAuji1Z9QzfW1uy-Htinknk-Co,7229
36
36
  anatools/anaclient/api/graphs.py,sha256=Wnxiz3u28rYeOV6OdEyi6NFuQDZdCOfOo8jNgZNX_Ok,5416
@@ -140,17 +140,17 @@ anatools/nodes/volume_directory.py,sha256=oe721h7qOplRj6N6NpGuyY1HCM277NSYA-6Uo3
140
140
  anatools/nodes/volume_directory.yml,sha256=MbyuLUlcqWIlQadYcn4Rvf6roypqh5IiP3dP57TilbY,901
141
141
  anatools/nodes/volume_file.py,sha256=YA4zCyRvVzF_9mMefGx29JLE7o9i6-NPaC40BFGv4_c,557
142
142
  anatools/nodes/volume_file.yml,sha256=i8bo9QeQmTLeWjv9Rh4EDoDqwOBULNPV7SMLO5AK8DI,862
143
- anatools-5.1.27.data/scripts/ana,sha256=qe7LDHRgJRPyomzAumdcYy0D5SuaUVag0N8SVevpxcU,5739
144
- anatools-5.1.27.data/scripts/anadeploy,sha256=nnJj5cbpKaatwJKfouGj1ZU6WveEDpuiZG1uIppPMu4,38420
145
- anatools-5.1.27.data/scripts/anamount,sha256=AiaUgaaVVREFY2FLYRmSA8xgSwbfiF9NJYi91SWRA1I,6186
146
- anatools-5.1.27.data/scripts/anaprofile,sha256=1YUUwHiSa4ORQsxVf2HaSakayNTwMTNeF2snEMSJQAM,9779
147
- anatools-5.1.27.data/scripts/anarules,sha256=vT2V-77DoL-o6mApSMVXjqeXRIWm44X3jPXdcNK29N0,8972
148
- anatools-5.1.27.data/scripts/anaserver,sha256=QB1k_vhXAFGMOi9SNIFwgzkzN5LzJeVLtIVkp1oHq4I,8343
149
- anatools-5.1.27.data/scripts/anatransfer,sha256=GbMLjgA3TP4Oo2mbUxWnkkSC4nKpw1DWta-WVfcNftw,14564
150
- anatools-5.1.27.data/scripts/anautils,sha256=fziapZuKuBO0VKRgb4C4Js8p9zxxh8OHQmmkNdo3t3E,9530
151
- anatools-5.1.27.dist-info/licenses/LICENSE,sha256=aw0uaPvFzrHLJxBvuRqUcE2_srfM32-1suya9HbZCY8,1072
152
- anatools-5.1.27.dist-info/METADATA,sha256=P7zUYMxp29ILv8dE6mRQEcdLLrGqzyP5Rd7d2MIJolM,8218
153
- anatools-5.1.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
154
- anatools-5.1.27.dist-info/entry_points.txt,sha256=KsZUmvbH3HXC2CdVpE2GZNR2u_cJNVIbm6BnD658FgM,54
155
- anatools-5.1.27.dist-info/top_level.txt,sha256=p7xa5bG7NX8pSMJOvRunSz1d7rGPGsBd5-A4gzD4r6w,9
156
- anatools-5.1.27.dist-info/RECORD,,
143
+ anatools-5.1.28.data/scripts/ana,sha256=qe7LDHRgJRPyomzAumdcYy0D5SuaUVag0N8SVevpxcU,5739
144
+ anatools-5.1.28.data/scripts/anadeploy,sha256=nnJj5cbpKaatwJKfouGj1ZU6WveEDpuiZG1uIppPMu4,38420
145
+ anatools-5.1.28.data/scripts/anamount,sha256=AiaUgaaVVREFY2FLYRmSA8xgSwbfiF9NJYi91SWRA1I,6186
146
+ anatools-5.1.28.data/scripts/anaprofile,sha256=1YUUwHiSa4ORQsxVf2HaSakayNTwMTNeF2snEMSJQAM,9779
147
+ anatools-5.1.28.data/scripts/anarules,sha256=vT2V-77DoL-o6mApSMVXjqeXRIWm44X3jPXdcNK29N0,8972
148
+ anatools-5.1.28.data/scripts/anaserver,sha256=QB1k_vhXAFGMOi9SNIFwgzkzN5LzJeVLtIVkp1oHq4I,8343
149
+ anatools-5.1.28.data/scripts/anatransfer,sha256=GbMLjgA3TP4Oo2mbUxWnkkSC4nKpw1DWta-WVfcNftw,14564
150
+ anatools-5.1.28.data/scripts/anautils,sha256=fziapZuKuBO0VKRgb4C4Js8p9zxxh8OHQmmkNdo3t3E,9530
151
+ anatools-5.1.28.dist-info/licenses/LICENSE,sha256=aw0uaPvFzrHLJxBvuRqUcE2_srfM32-1suya9HbZCY8,1072
152
+ anatools-5.1.28.dist-info/METADATA,sha256=hD9VcdWkLTSiQe4IxxUxGoPcgzBrJ6v9KuLBvT1qHMU,8218
153
+ anatools-5.1.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
154
+ anatools-5.1.28.dist-info/entry_points.txt,sha256=KsZUmvbH3HXC2CdVpE2GZNR2u_cJNVIbm6BnD658FgM,54
155
+ anatools-5.1.28.dist-info/top_level.txt,sha256=p7xa5bG7NX8pSMJOvRunSz1d7rGPGsBd5-A4gzD4r6w,9
156
+ anatools-5.1.28.dist-info/RECORD,,