flywheel-sdk 17.5.0rc0__py2.py3-none-any.whl → 17.6.0__py2.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.
- flywheel/__init__.py +26 -11
- flywheel/api/__init__.py +1 -1
- flywheel/api/acquisitions_api.py +2 -2
- flywheel/api/analyses_api.py +6 -6
- flywheel/api/batch_api.py +2 -2
- flywheel/api/change_log_api.py +137 -0
- flywheel/api/config_api.py +88 -0
- flywheel/api/containers_api.py +2 -2
- flywheel/api/dataexplorer_api.py +532 -7
- flywheel/api/download_api.py +2 -2
- flywheel/api/files_api.py +9 -332
- flywheel/api/gears_api.py +2 -2
- flywheel/api/jobs_api.py +7 -3
- flywheel/api/projects_api.py +2 -2
- flywheel/api/reports_api.py +18 -16
- flywheel/api/sessions_api.py +2 -2
- flywheel/api/subjects_api.py +6 -6
- flywheel/api/tree_api.py +88 -0
- flywheel/api/upload_api.py +356 -0
- flywheel/api/workspaces_api.py +22 -14
- flywheel/api_client.py +1 -1
- flywheel/client.py +2 -10
- flywheel/configuration.py +2 -2
- flywheel/flywheel.py +178 -104
- flywheel/models/__init__.py +26 -11
- flywheel/models/acquisition_node.py +3 -699
- flywheel/models/analysis_node.py +3 -642
- flywheel/models/change.py +377 -0
- flywheel/models/change_log_container_type.py +34 -0
- flywheel/models/change_log_document.py +243 -0
- flywheel/models/change_method.py +28 -0
- flywheel/models/daily_report_usage.py +506 -0
- flywheel/models/features.py +28 -1
- flywheel/models/file_output.py +18 -0
- flywheel/models/file_upsert_input.py +123 -73
- flywheel/models/file_upsert_output.py +681 -199
- flywheel/models/file_version_output.py +59 -11
- flywheel/models/group_node.py +3 -433
- flywheel/models/job_priority_update.py +7 -7
- flywheel/models/{report_legacy_usage_entry.py → legacy_usage_report.py} +56 -56
- flywheel/models/{report_legacy_usage_project_entry.py → legacys_usage_project_entry.py} +12 -12
- flywheel/models/parent_type.py +27 -0
- flywheel/models/project_node.py +3 -855
- flywheel/models/{tree_graph.py → report_availability_list.py} +35 -6
- flywheel/models/report_time_period.py +4 -33
- flywheel/models/report_usage.py +542 -0
- flywheel/models/report_usage_entry.py +3 -506
- flywheel/models/save_search.py +296 -0
- flywheel/models/save_search_input.py +217 -0
- flywheel/models/save_search_output.py +299 -0
- flywheel/models/save_search_page.py +217 -0
- flywheel/models/{file_upsert_origin.py → save_search_parent.py} +19 -19
- flywheel/models/save_search_update.py +192 -0
- flywheel/models/search_query.py +3 -3
- flywheel/models/search_status.py +6 -5
- flywheel/models/search_structured_search_query.py +3 -142
- flywheel/models/server_state.py +300 -0
- flywheel/models/session_node.py +3 -832
- flywheel/models/{upload_signed_fs_file_upload_output.py → signed_fs_upload_output.py} +14 -16
- flywheel/models/state.py +28 -0
- flywheel/models/status_type.py +26 -0
- flywheel/models/{search_query_suggestions.py → structured_query_suggestions.py} +18 -20
- flywheel/models/{search_suggestion.py → structured_query_value_suggestion.py} +12 -12
- flywheel/models/subject_node.py +3 -967
- flywheel/models/tree_graph_node.py +4 -4
- flywheel/models/upsert_result.py +26 -0
- flywheel/models/workspace_modify.py +273 -0
- flywheel/models/workspace_origin.py +3 -167
- flywheel/models/workspace_output.py +3 -340
- flywheel/models/{workspace.py → workspace_response.py} +114 -61
- flywheel/models/workspace_update.py +3 -112
- {flywheel_sdk-17.5.0rc0.dist-info → flywheel_sdk-17.6.0.dist-info}/METADATA +1 -1
- {flywheel_sdk-17.5.0rc0.dist-info → flywheel_sdk-17.6.0.dist-info}/RECORD +76 -61
- flywheel/api/default_api.py +0 -331
- flywheel/models/tree_graph_connections.py +0 -136
- flywheel/models/tree_response_item.py +0 -134
- {flywheel_sdk-17.5.0rc0.dist-info → flywheel_sdk-17.6.0.dist-info}/LICENSE.txt +0 -0
- {flywheel_sdk-17.5.0rc0.dist-info → flywheel_sdk-17.6.0.dist-info}/WHEEL +0 -0
- {flywheel_sdk-17.5.0rc0.dist-info → flywheel_sdk-17.6.0.dist-info}/top_level.txt +0 -0
flywheel/__init__.py
CHANGED
|
@@ -25,12 +25,12 @@ from flywheel.api.audit_trail_api import AuditTrailApi
|
|
|
25
25
|
from flywheel.api.auth_api import AuthApi
|
|
26
26
|
from flywheel.api.batch_api import BatchApi
|
|
27
27
|
from flywheel.api.bulk_api import BulkApi
|
|
28
|
+
from flywheel.api.change_log_api import ChangeLogApi
|
|
28
29
|
from flywheel.api.collections_api import CollectionsApi
|
|
29
30
|
from flywheel.api.config_api import ConfigApi
|
|
30
31
|
from flywheel.api.containers_api import ContainersApi
|
|
31
32
|
from flywheel.api.data_view_executions_api import DataViewExecutionsApi
|
|
32
33
|
from flywheel.api.dataexplorer_api import DataexplorerApi
|
|
33
|
-
from flywheel.api.default_api import DefaultApi
|
|
34
34
|
from flywheel.api.devices_api import DevicesApi
|
|
35
35
|
from flywheel.api.dimse_api import DimseApi
|
|
36
36
|
from flywheel.api.download_api import DownloadApi
|
|
@@ -125,6 +125,10 @@ from flywheel.models.bulk_move_input import BulkMoveInput
|
|
|
125
125
|
from flywheel.models.bulk_move_sessions import BulkMoveSessions
|
|
126
126
|
from flywheel.models.cancelled_batch_output import CancelledBatchOutput
|
|
127
127
|
from flywheel.models.catalog_list_output import CatalogListOutput
|
|
128
|
+
from flywheel.models.change import Change
|
|
129
|
+
from flywheel.models.change_log_container_type import ChangeLogContainerType
|
|
130
|
+
from flywheel.models.change_log_document import ChangeLogDocument
|
|
131
|
+
from flywheel.models.change_method import ChangeMethod
|
|
128
132
|
from flywheel.models.channel import Channel
|
|
129
133
|
from flywheel.models.classic_batch_job_output import ClassicBatchJobOutput
|
|
130
134
|
from flywheel.models.classic_batch_job_output_inflated_jobs import ClassicBatchJobOutputInflatedJobs
|
|
@@ -182,6 +186,7 @@ from flywheel.models.create_report_input import CreateReportInput
|
|
|
182
186
|
from flywheel.models.creds import Creds
|
|
183
187
|
from flywheel.models.curator import Curator
|
|
184
188
|
from flywheel.models.current_user_output import CurrentUserOutput
|
|
189
|
+
from flywheel.models.daily_report_usage import DailyReportUsage
|
|
185
190
|
from flywheel.models.data_strategy import DataStrategy
|
|
186
191
|
from flywheel.models.data_view import DataView
|
|
187
192
|
from flywheel.models.data_view_analysis_file_spec import DataViewAnalysisFileSpec
|
|
@@ -251,7 +256,6 @@ from flywheel.models.file_reference import FileReference
|
|
|
251
256
|
from flywheel.models.file_suggestion import FileSuggestion
|
|
252
257
|
from flywheel.models.file_template_options import FileTemplateOptions
|
|
253
258
|
from flywheel.models.file_upsert_input import FileUpsertInput
|
|
254
|
-
from flywheel.models.file_upsert_origin import FileUpsertOrigin
|
|
255
259
|
from flywheel.models.file_upsert_output import FileUpsertOutput
|
|
256
260
|
from flywheel.models.file_version import FileVersion
|
|
257
261
|
from flywheel.models.file_version_copy_of import FileVersionCopyOf
|
|
@@ -401,6 +405,8 @@ from flywheel.models.ldap_sync_input import LdapSyncInput
|
|
|
401
405
|
from flywheel.models.ldap_sync_status import LdapSyncStatus
|
|
402
406
|
from flywheel.models.legacy_api_key_output import LegacyApiKeyOutput
|
|
403
407
|
from flywheel.models.legacy_input import LegacyInput
|
|
408
|
+
from flywheel.models.legacy_usage_report import LegacyUsageReport
|
|
409
|
+
from flywheel.models.legacys_usage_project_entry import LegacysUsageProjectEntry
|
|
404
410
|
from flywheel.models.local_storage import LocalStorage
|
|
405
411
|
from flywheel.models.location import Location
|
|
406
412
|
from flywheel.models.locked import Locked
|
|
@@ -433,6 +439,7 @@ from flywheel.models.packfile_removed_output import PackfileRemovedOutput
|
|
|
433
439
|
from flywheel.models.packfile_start import PackfileStart
|
|
434
440
|
from flywheel.models.page import Page
|
|
435
441
|
from flywheel.models.page_file_output_ import PageFileOutput_
|
|
442
|
+
from flywheel.models.parent_type import ParentType
|
|
436
443
|
from flywheel.models.parsed_query_response import ParsedQueryResponse
|
|
437
444
|
from flywheel.models.permission_access_permission import PermissionAccessPermission
|
|
438
445
|
from flywheel.models.premade_jobs_batch_job_output import PremadeJobsBatchJobOutput
|
|
@@ -499,14 +506,14 @@ from flywheel.models.report_access_log_context_entry import ReportAccessLogConte
|
|
|
499
506
|
from flywheel.models.report_access_log_context_file_entry import ReportAccessLogContextFileEntry
|
|
500
507
|
from flywheel.models.report_access_log_entry import ReportAccessLogEntry
|
|
501
508
|
from flywheel.models.report_access_log_origin import ReportAccessLogOrigin
|
|
509
|
+
from flywheel.models.report_availability_list import ReportAvailabilityList
|
|
502
510
|
from flywheel.models.report_daily_usage_entry import ReportDailyUsageEntry
|
|
503
511
|
from flywheel.models.report_demographics_grid import ReportDemographicsGrid
|
|
504
512
|
from flywheel.models.report_group_report import ReportGroupReport
|
|
505
|
-
from flywheel.models.report_legacy_usage_entry import ReportLegacyUsageEntry
|
|
506
|
-
from flywheel.models.report_legacy_usage_project_entry import ReportLegacyUsageProjectEntry
|
|
507
513
|
from flywheel.models.report_project import ReportProject
|
|
508
514
|
from flywheel.models.report_site import ReportSite
|
|
509
515
|
from flywheel.models.report_time_period import ReportTimePeriod
|
|
516
|
+
from flywheel.models.report_usage import ReportUsage
|
|
510
517
|
from flywheel.models.report_usage_entry import ReportUsageEntry
|
|
511
518
|
from flywheel.models.resolve_input import ResolveInput
|
|
512
519
|
from flywheel.models.resolve_output import ResolveOutput
|
|
@@ -527,6 +534,12 @@ from flywheel.models.roles_role_input import RolesRoleInput
|
|
|
527
534
|
from flywheel.models.rule import Rule
|
|
528
535
|
from flywheel.models.rule_any import RuleAny
|
|
529
536
|
from flywheel.models.s3_compat_storage import S3CompatStorage
|
|
537
|
+
from flywheel.models.save_search import SaveSearch
|
|
538
|
+
from flywheel.models.save_search_input import SaveSearchInput
|
|
539
|
+
from flywheel.models.save_search_output import SaveSearchOutput
|
|
540
|
+
from flywheel.models.save_search_page import SaveSearchPage
|
|
541
|
+
from flywheel.models.save_search_parent import SaveSearchParent
|
|
542
|
+
from flywheel.models.save_search_update import SaveSearchUpdate
|
|
530
543
|
from flywheel.models.search_acquisition_response import SearchAcquisitionResponse
|
|
531
544
|
from flywheel.models.search_analysis_response import SearchAnalysisResponse
|
|
532
545
|
from flywheel.models.search_collection_response import SearchCollectionResponse
|
|
@@ -539,14 +552,13 @@ from flywheel.models.search_parent_session import SearchParentSession
|
|
|
539
552
|
from flywheel.models.search_parse_error import SearchParseError
|
|
540
553
|
from flywheel.models.search_project_response import SearchProjectResponse
|
|
541
554
|
from flywheel.models.search_query import SearchQuery
|
|
542
|
-
from flywheel.models.search_query_suggestions import SearchQuerySuggestions
|
|
543
555
|
from flywheel.models.search_response import SearchResponse
|
|
544
556
|
from flywheel.models.search_return_type import SearchReturnType
|
|
545
557
|
from flywheel.models.search_session_response import SearchSessionResponse
|
|
546
558
|
from flywheel.models.search_status import SearchStatus
|
|
547
559
|
from flywheel.models.search_structured_search_query import SearchStructuredSearchQuery
|
|
548
560
|
from flywheel.models.search_subject_response import SearchSubjectResponse
|
|
549
|
-
from flywheel.models.
|
|
561
|
+
from flywheel.models.server_state import ServerState
|
|
550
562
|
from flywheel.models.service_aet import ServiceAET
|
|
551
563
|
from flywheel.models.service_aet_input import ServiceAETInput
|
|
552
564
|
from flywheel.models.session import Session
|
|
@@ -563,6 +575,7 @@ from flywheel.models.session_template_recalc_output import SessionTemplateRecalc
|
|
|
563
575
|
from flywheel.models.session_upsert_input import SessionUpsertInput
|
|
564
576
|
from flywheel.models.session_upsert_output import SessionUpsertOutput
|
|
565
577
|
from flywheel.models.sharing_filter_options import SharingFilterOptions
|
|
578
|
+
from flywheel.models.signed_fs_upload_output import SignedFSUploadOutput
|
|
566
579
|
from flywheel.models.signed_url_upload_input import SignedUrlUploadInput
|
|
567
580
|
from flywheel.models.signed_url_upload_output import SignedUrlUploadOutput
|
|
568
581
|
from flywheel.models.site import Site
|
|
@@ -570,11 +583,15 @@ from flywheel.models.site_report import SiteReport
|
|
|
570
583
|
from flywheel.models.site_settings import SiteSettings
|
|
571
584
|
from flywheel.models.sort import Sort
|
|
572
585
|
from flywheel.models.stable_api_key_input import StableApiKeyInput
|
|
586
|
+
from flywheel.models.state import State
|
|
573
587
|
from flywheel.models.static_compute import StaticCompute
|
|
588
|
+
from flywheel.models.status_type import StatusType
|
|
574
589
|
from flywheel.models.status_value import StatusValue
|
|
575
590
|
from flywheel.models.storage_strategy import StorageStrategy
|
|
576
591
|
from flywheel.models.storage_strategy_config import StorageStrategyConfig
|
|
577
592
|
from flywheel.models.structured_query import StructuredQuery
|
|
593
|
+
from flywheel.models.structured_query_suggestions import StructuredQuerySuggestions
|
|
594
|
+
from flywheel.models.structured_query_value_suggestion import StructuredQueryValueSuggestion
|
|
578
595
|
from flywheel.models.subject import Subject
|
|
579
596
|
from flywheel.models.subject_container_output import SubjectContainerOutput
|
|
580
597
|
from flywheel.models.subject_input import SubjectInput
|
|
@@ -592,23 +609,20 @@ from flywheel.models.tag import Tag
|
|
|
592
609
|
from flywheel.models.therapeutic_area import TherapeuticArea
|
|
593
610
|
from flywheel.models.transitions import Transitions
|
|
594
611
|
from flywheel.models.tree_container_request_spec import TreeContainerRequestSpec
|
|
595
|
-
from flywheel.models.tree_graph import TreeGraph
|
|
596
612
|
from flywheel.models.tree_graph_connection import TreeGraphConnection
|
|
597
|
-
from flywheel.models.tree_graph_connections import TreeGraphConnections
|
|
598
613
|
from flywheel.models.tree_graph_node import TreeGraphNode
|
|
599
614
|
from flywheel.models.tree_request import TreeRequest
|
|
600
|
-
from flywheel.models.tree_response_item import TreeResponseItem
|
|
601
615
|
from flywheel.models.type_str import TypeStr
|
|
602
616
|
from flywheel.models.uid_check_input_acquisitions import UidCheckInputAcquisitions
|
|
603
617
|
from flywheel.models.uid_check_input_sessions import UidCheckInputSessions
|
|
604
618
|
from flywheel.models.uid_check_output import UidCheckOutput
|
|
605
619
|
from flywheel.models.upload_complete_s3_multipart_input import UploadCompleteS3MultipartInput
|
|
606
620
|
from flywheel.models.upload_complete_s3_multipart_output import UploadCompleteS3MultipartOutput
|
|
607
|
-
from flywheel.models.upload_signed_fs_file_upload_output import UploadSignedFsFileUploadOutput
|
|
608
621
|
from flywheel.models.upload_signed_upload_url_input import UploadSignedUploadUrlInput
|
|
609
622
|
from flywheel.models.upload_signed_upload_url_output import UploadSignedUploadUrlOutput
|
|
610
623
|
from flywheel.models.upload_ticket_output import UploadTicketOutput
|
|
611
624
|
from flywheel.models.upload_token_output import UploadTokenOutput
|
|
625
|
+
from flywheel.models.upsert_result import UpsertResult
|
|
612
626
|
from flywheel.models.user import User
|
|
613
627
|
from flywheel.models.user_api_key import UserApiKey
|
|
614
628
|
from flywheel.models.user_input import UserInput
|
|
@@ -628,9 +642,10 @@ from flywheel.models.viewer_app_type import ViewerAppType
|
|
|
628
642
|
from flywheel.models.virus_scan import VirusScan
|
|
629
643
|
from flywheel.models.virus_scan_state import VirusScanState
|
|
630
644
|
from flywheel.models.work_in_progress_features import WorkInProgressFeatures
|
|
631
|
-
from flywheel.models.
|
|
645
|
+
from flywheel.models.workspace_modify import WorkspaceModify
|
|
632
646
|
from flywheel.models.workspace_origin import WorkspaceOrigin
|
|
633
647
|
from flywheel.models.workspace_output import WorkspaceOutput
|
|
648
|
+
from flywheel.models.workspace_response import WorkspaceResponse
|
|
634
649
|
from flywheel.models.workspace_update import WorkspaceUpdate
|
|
635
650
|
from flywheel.models.zipfile_info import ZipfileInfo
|
|
636
651
|
from flywheel.models.zipfile_member_info import ZipfileMemberInfo
|
flywheel/api/__init__.py
CHANGED
|
@@ -9,12 +9,12 @@ from flywheel.api.audit_trail_api import AuditTrailApi
|
|
|
9
9
|
from flywheel.api.auth_api import AuthApi
|
|
10
10
|
from flywheel.api.batch_api import BatchApi
|
|
11
11
|
from flywheel.api.bulk_api import BulkApi
|
|
12
|
+
from flywheel.api.change_log_api import ChangeLogApi
|
|
12
13
|
from flywheel.api.collections_api import CollectionsApi
|
|
13
14
|
from flywheel.api.config_api import ConfigApi
|
|
14
15
|
from flywheel.api.containers_api import ContainersApi
|
|
15
16
|
from flywheel.api.data_view_executions_api import DataViewExecutionsApi
|
|
16
17
|
from flywheel.api.dataexplorer_api import DataexplorerApi
|
|
17
|
-
from flywheel.api.default_api import DefaultApi
|
|
18
18
|
from flywheel.api.devices_api import DevicesApi
|
|
19
19
|
from flywheel.api.dimse_api import DimseApi
|
|
20
20
|
from flywheel.api.download_api import DownloadApi
|
flywheel/api/acquisitions_api.py
CHANGED
|
@@ -265,7 +265,7 @@ class AcquisitionsApi(object):
|
|
|
265
265
|
|
|
266
266
|
:param str container_id: 24-char hex id (required)
|
|
267
267
|
:param str analysis_id: 24-char hex analysis id (required)
|
|
268
|
-
:param NoteInput body: (required)
|
|
268
|
+
:param NoteInput body: note content (required)
|
|
269
269
|
:param bool async_: Perform the request asynchronously
|
|
270
270
|
:return: Note
|
|
271
271
|
"""
|
|
@@ -292,7 +292,7 @@ class AcquisitionsApi(object):
|
|
|
292
292
|
|
|
293
293
|
:param str container_id: 24-char hex id (required)
|
|
294
294
|
:param str analysis_id: 24-char hex analysis id (required)
|
|
295
|
-
:param NoteInput body: (required)
|
|
295
|
+
:param NoteInput body: note content (required)
|
|
296
296
|
:param bool async: Perform the request asynchronously
|
|
297
297
|
:return: Note
|
|
298
298
|
"""
|
flywheel/api/analyses_api.py
CHANGED
|
@@ -37,7 +37,7 @@ class AnalysesApi(object):
|
|
|
37
37
|
This method makes a synchronous HTTP request by default.
|
|
38
38
|
|
|
39
39
|
:param str container_id: Container id (required)
|
|
40
|
-
:param NoteInput body: (required)
|
|
40
|
+
:param NoteInput body: note content (required)
|
|
41
41
|
:param bool async_: Perform the request asynchronously
|
|
42
42
|
:return: Note
|
|
43
43
|
"""
|
|
@@ -64,7 +64,7 @@ class AnalysesApi(object):
|
|
|
64
64
|
This method makes a synchronous HTTP request by default.
|
|
65
65
|
|
|
66
66
|
:param str container_id: Container id (required)
|
|
67
|
-
:param NoteInput body: (required)
|
|
67
|
+
:param NoteInput body: note content (required)
|
|
68
68
|
:param bool async: Perform the request asynchronously
|
|
69
69
|
:return: Note
|
|
70
70
|
"""
|
|
@@ -1922,7 +1922,7 @@ class AnalysesApi(object):
|
|
|
1922
1922
|
This method makes a synchronous HTTP request by default.
|
|
1923
1923
|
|
|
1924
1924
|
:param str analysis_id: 24-char hex analysis id (required)
|
|
1925
|
-
:param AnalysisModifyInput body: (required)
|
|
1925
|
+
:param AnalysisModifyInput body: new analysis fields (required)
|
|
1926
1926
|
:param bool async_: Perform the request asynchronously
|
|
1927
1927
|
:return: ModifiedResult
|
|
1928
1928
|
"""
|
|
@@ -1949,7 +1949,7 @@ class AnalysesApi(object):
|
|
|
1949
1949
|
This method makes a synchronous HTTP request by default.
|
|
1950
1950
|
|
|
1951
1951
|
:param str analysis_id: 24-char hex analysis id (required)
|
|
1952
|
-
:param AnalysisModifyInput body: (required)
|
|
1952
|
+
:param AnalysisModifyInput body: new analysis fields (required)
|
|
1953
1953
|
:param bool async: Perform the request asynchronously
|
|
1954
1954
|
:return: ModifiedResult
|
|
1955
1955
|
"""
|
|
@@ -2153,7 +2153,7 @@ class AnalysesApi(object):
|
|
|
2153
2153
|
|
|
2154
2154
|
:param str container_id: Container id (required)
|
|
2155
2155
|
:param str note_id: 24-char hex note id (required)
|
|
2156
|
-
:param NoteInput body: (required)
|
|
2156
|
+
:param NoteInput body: note content (required)
|
|
2157
2157
|
:param bool async_: Perform the request asynchronously
|
|
2158
2158
|
:return: int
|
|
2159
2159
|
"""
|
|
@@ -2181,7 +2181,7 @@ class AnalysesApi(object):
|
|
|
2181
2181
|
|
|
2182
2182
|
:param str container_id: Container id (required)
|
|
2183
2183
|
:param str note_id: 24-char hex note id (required)
|
|
2184
|
-
:param NoteInput body: (required)
|
|
2184
|
+
:param NoteInput body: note content (required)
|
|
2185
2185
|
:param bool async: Perform the request asynchronously
|
|
2186
2186
|
:return: int
|
|
2187
2187
|
"""
|
flywheel/api/batch_api.py
CHANGED
|
@@ -425,7 +425,7 @@ class BatchApi(object):
|
|
|
425
425
|
Create a batch job proposal and insert it as 'pending'.
|
|
426
426
|
This method makes a synchronous HTTP request by default.
|
|
427
427
|
|
|
428
|
-
:param ClassicBatchProposalInput body: (required)
|
|
428
|
+
:param ClassicBatchProposalInput body: The batch proposal (required)
|
|
429
429
|
:param bool async_: Perform the request asynchronously
|
|
430
430
|
:return: ClassicBatchProposalOutput
|
|
431
431
|
"""
|
|
@@ -451,7 +451,7 @@ class BatchApi(object):
|
|
|
451
451
|
Create a batch job proposal and insert it as 'pending'.
|
|
452
452
|
This method makes a synchronous HTTP request by default.
|
|
453
453
|
|
|
454
|
-
:param ClassicBatchProposalInput body: (required)
|
|
454
|
+
:param ClassicBatchProposalInput body: The batch proposal (required)
|
|
455
455
|
:param bool async: Perform the request asynchronously
|
|
456
456
|
:return: ClassicBatchProposalOutput
|
|
457
457
|
"""
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Flywheel
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 0.0.1
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import absolute_import
|
|
15
|
+
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
|
|
18
|
+
# python 2 and python 3 compatibility library
|
|
19
|
+
import six
|
|
20
|
+
|
|
21
|
+
from flywheel.api_client import ApiClient
|
|
22
|
+
import flywheel.models
|
|
23
|
+
|
|
24
|
+
# NOTE: This file is auto generated by the swagger code generator program.
|
|
25
|
+
# Do not edit the class manually.
|
|
26
|
+
|
|
27
|
+
class ChangeLogApi(object):
|
|
28
|
+
def __init__(self, api_client=None):
|
|
29
|
+
if api_client is None:
|
|
30
|
+
api_client = ApiClient()
|
|
31
|
+
self.api_client = api_client
|
|
32
|
+
|
|
33
|
+
def get_change_log(self, container_type, container_id, **kwargs): # noqa: E501
|
|
34
|
+
"""Get Change Log
|
|
35
|
+
|
|
36
|
+
This method makes a synchronous HTTP request by default.
|
|
37
|
+
|
|
38
|
+
:param ChangeLogContainerType container_type: (required)
|
|
39
|
+
:param str container_id: (required)
|
|
40
|
+
:param int version: Optional version if retrieving logs for file
|
|
41
|
+
:param bool async_: Perform the request asynchronously
|
|
42
|
+
:return: ChangeLogDocument
|
|
43
|
+
"""
|
|
44
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
45
|
+
kwargs['_return_http_data_only'] = True
|
|
46
|
+
|
|
47
|
+
if kwargs.get('async_'):
|
|
48
|
+
return self.get_change_log_with_http_info(container_type, container_id, **kwargs) # noqa: E501
|
|
49
|
+
else:
|
|
50
|
+
(data) = self.get_change_log_with_http_info(container_type, container_id, **kwargs) # noqa: E501
|
|
51
|
+
if (
|
|
52
|
+
data
|
|
53
|
+
and hasattr(data, 'return_value')
|
|
54
|
+
and not ignore_simplified_return_value
|
|
55
|
+
):
|
|
56
|
+
return data.return_value()
|
|
57
|
+
return data
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def get_change_log_with_http_info(self, container_type, container_id, **kwargs): # noqa: E501
|
|
61
|
+
"""Get Change Log
|
|
62
|
+
|
|
63
|
+
This method makes a synchronous HTTP request by default.
|
|
64
|
+
|
|
65
|
+
:param ChangeLogContainerType container_type: (required)
|
|
66
|
+
:param str container_id: (required)
|
|
67
|
+
:param int version: Optional version if retrieving logs for file
|
|
68
|
+
:param bool async: Perform the request asynchronously
|
|
69
|
+
:return: ChangeLogDocument
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
all_params = ['container_type','container_id','version',] # noqa: E501
|
|
73
|
+
all_params.append('async_')
|
|
74
|
+
all_params.append('_return_http_data_only')
|
|
75
|
+
all_params.append('_preload_content')
|
|
76
|
+
all_params.append('_request_timeout')
|
|
77
|
+
all_params.append('_request_out')
|
|
78
|
+
|
|
79
|
+
params = locals()
|
|
80
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
81
|
+
if key not in all_params:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
"Got an unexpected keyword argument '%s'"
|
|
84
|
+
" to method get_change_log" % key
|
|
85
|
+
)
|
|
86
|
+
params[key] = val
|
|
87
|
+
del params['kwargs']
|
|
88
|
+
# verify the required parameter 'container_type' is set
|
|
89
|
+
if ('container_type' not in params or
|
|
90
|
+
params['container_type'] is None):
|
|
91
|
+
raise ValueError("Missing the required parameter `container_type` when calling `get_change_log`") # noqa: E501
|
|
92
|
+
# verify the required parameter 'container_id' is set
|
|
93
|
+
if ('container_id' not in params or
|
|
94
|
+
params['container_id'] is None):
|
|
95
|
+
raise ValueError("Missing the required parameter `container_id` when calling `get_change_log`") # noqa: E501
|
|
96
|
+
|
|
97
|
+
collection_formats = {}
|
|
98
|
+
|
|
99
|
+
path_params = {}
|
|
100
|
+
if 'container_type' in params:
|
|
101
|
+
path_params['container_type'] = params['container_type'] # noqa: E501
|
|
102
|
+
if 'container_id' in params:
|
|
103
|
+
path_params['container_id'] = params['container_id'] # noqa: E501
|
|
104
|
+
|
|
105
|
+
query_params = []
|
|
106
|
+
if 'version' in params:
|
|
107
|
+
query_params.append(('version', params['version'])) # noqa: E501
|
|
108
|
+
|
|
109
|
+
header_params = {}
|
|
110
|
+
|
|
111
|
+
form_params = []
|
|
112
|
+
local_var_files = {}
|
|
113
|
+
|
|
114
|
+
body_params = None
|
|
115
|
+
# HTTP header `Accept`
|
|
116
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
117
|
+
['application/json']) # noqa: E501
|
|
118
|
+
|
|
119
|
+
# Authentication setting
|
|
120
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
121
|
+
|
|
122
|
+
return self.api_client.call_api(
|
|
123
|
+
'/changes/{container_type}/{container_id}', 'GET',
|
|
124
|
+
path_params,
|
|
125
|
+
query_params,
|
|
126
|
+
header_params,
|
|
127
|
+
body=body_params,
|
|
128
|
+
post_params=form_params,
|
|
129
|
+
files=local_var_files,
|
|
130
|
+
response_type='ChangeLogDocument', # noqa: E501
|
|
131
|
+
auth_settings=auth_settings,
|
|
132
|
+
async_=params.get('async_'),
|
|
133
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
134
|
+
_preload_content=params.get('_preload_content', True),
|
|
135
|
+
_request_timeout=params.get('_request_timeout'),
|
|
136
|
+
_request_out=params.get('_request_out'),
|
|
137
|
+
collection_formats=collection_formats)
|
flywheel/api/config_api.py
CHANGED
|
@@ -118,6 +118,94 @@ class ConfigApi(object):
|
|
|
118
118
|
_request_out=params.get('_request_out'),
|
|
119
119
|
collection_formats=collection_formats)
|
|
120
120
|
|
|
121
|
+
def get_config_js(self, **kwargs): # noqa: E501
|
|
122
|
+
"""Return public Scitran configuration information in javascript format.
|
|
123
|
+
|
|
124
|
+
return config as a JavaScript string assignment
|
|
125
|
+
This method makes a synchronous HTTP request by default.
|
|
126
|
+
|
|
127
|
+
:param bool async_: Perform the request asynchronously
|
|
128
|
+
:return: object
|
|
129
|
+
"""
|
|
130
|
+
ignore_simplified_return_value = kwargs.pop('_ignore_simplified_return_value', False)
|
|
131
|
+
kwargs['_return_http_data_only'] = True
|
|
132
|
+
|
|
133
|
+
if kwargs.get('async_'):
|
|
134
|
+
return self.get_config_js_with_http_info(**kwargs) # noqa: E501
|
|
135
|
+
else:
|
|
136
|
+
(data) = self.get_config_js_with_http_info(**kwargs) # noqa: E501
|
|
137
|
+
if (
|
|
138
|
+
data
|
|
139
|
+
and hasattr(data, 'return_value')
|
|
140
|
+
and not ignore_simplified_return_value
|
|
141
|
+
):
|
|
142
|
+
return data.return_value()
|
|
143
|
+
return data
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def get_config_js_with_http_info(self, **kwargs): # noqa: E501
|
|
147
|
+
"""Return public Scitran configuration information in javascript format.
|
|
148
|
+
|
|
149
|
+
return config as a JavaScript string assignment
|
|
150
|
+
This method makes a synchronous HTTP request by default.
|
|
151
|
+
|
|
152
|
+
:param bool async: Perform the request asynchronously
|
|
153
|
+
:return: object
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
all_params = [] # noqa: E501
|
|
157
|
+
all_params.append('async_')
|
|
158
|
+
all_params.append('_return_http_data_only')
|
|
159
|
+
all_params.append('_preload_content')
|
|
160
|
+
all_params.append('_request_timeout')
|
|
161
|
+
all_params.append('_request_out')
|
|
162
|
+
|
|
163
|
+
params = locals()
|
|
164
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
165
|
+
if key not in all_params:
|
|
166
|
+
raise TypeError(
|
|
167
|
+
"Got an unexpected keyword argument '%s'"
|
|
168
|
+
" to method get_config_js" % key
|
|
169
|
+
)
|
|
170
|
+
params[key] = val
|
|
171
|
+
del params['kwargs']
|
|
172
|
+
|
|
173
|
+
collection_formats = {}
|
|
174
|
+
|
|
175
|
+
path_params = {}
|
|
176
|
+
|
|
177
|
+
query_params = []
|
|
178
|
+
|
|
179
|
+
header_params = {}
|
|
180
|
+
|
|
181
|
+
form_params = []
|
|
182
|
+
local_var_files = {}
|
|
183
|
+
|
|
184
|
+
body_params = None
|
|
185
|
+
# HTTP header `Accept`
|
|
186
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
187
|
+
['application/javascript']) # noqa: E501
|
|
188
|
+
|
|
189
|
+
# Authentication setting
|
|
190
|
+
auth_settings = ['ApiKey'] # noqa: E501
|
|
191
|
+
|
|
192
|
+
return self.api_client.call_api(
|
|
193
|
+
'/config.js', 'GET',
|
|
194
|
+
path_params,
|
|
195
|
+
query_params,
|
|
196
|
+
header_params,
|
|
197
|
+
body=body_params,
|
|
198
|
+
post_params=form_params,
|
|
199
|
+
files=local_var_files,
|
|
200
|
+
response_type='object', # noqa: E501
|
|
201
|
+
auth_settings=auth_settings,
|
|
202
|
+
async_=params.get('async_'),
|
|
203
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
204
|
+
_preload_content=params.get('_preload_content', True),
|
|
205
|
+
_request_timeout=params.get('_request_timeout'),
|
|
206
|
+
_request_out=params.get('_request_out'),
|
|
207
|
+
collection_formats=collection_formats)
|
|
208
|
+
|
|
121
209
|
def get_version(self, **kwargs): # noqa: E501
|
|
122
210
|
"""Get server and database schema version info
|
|
123
211
|
|
flywheel/api/containers_api.py
CHANGED
|
@@ -158,7 +158,7 @@ class ContainersApi(object):
|
|
|
158
158
|
|
|
159
159
|
:param str container_id: 24-char hex id (required)
|
|
160
160
|
:param str analysis_id: 24-char hex analysis id (required)
|
|
161
|
-
:param NoteInput body: (required)
|
|
161
|
+
:param NoteInput body: note content (required)
|
|
162
162
|
:param bool async_: Perform the request asynchronously
|
|
163
163
|
:return: Note
|
|
164
164
|
"""
|
|
@@ -185,7 +185,7 @@ class ContainersApi(object):
|
|
|
185
185
|
|
|
186
186
|
:param str container_id: 24-char hex id (required)
|
|
187
187
|
:param str analysis_id: 24-char hex analysis id (required)
|
|
188
|
-
:param NoteInput body: (required)
|
|
188
|
+
:param NoteInput body: note content (required)
|
|
189
189
|
:param bool async: Perform the request asynchronously
|
|
190
190
|
:return: Note
|
|
191
191
|
"""
|