Skip to content

Update generated source code #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ibmcloudant/cloudant_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# IBM OpenAPI SDK Code Generator Version: 3.28.0-55613c9e-20210220-164656
# IBM OpenAPI SDK Code Generator Version: 3.30.0-bd714324-20210406-200538

"""
NoSQL database based on Apache CouchDB
Expand Down
19 changes: 10 additions & 9 deletions test/unit/test_cloudant_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

from datetime import datetime, timezone
from ibm_cloud_sdk_core.authenticators.no_auth_authenticator import NoAuthAuthenticator
from ibm_cloud_sdk_core.utils import datetime_to_string, string_to_datetime
import base64
import inspect
import io
Expand Down Expand Up @@ -15282,11 +15283,11 @@ def test_scheduler_docs_result_serialization(self):
scheduler_document_model['error_count'] = 0
scheduler_document_model['id'] = 'testString'
scheduler_document_model['info'] = scheduler_info_model
scheduler_document_model['last_updated'] = '2020-01-28T18:40:40.123456Z'
scheduler_document_model['last_updated'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_document_model['node'] = 'testString'
scheduler_document_model['source'] = 'testString'
scheduler_document_model['source_proxy'] = 'testString'
scheduler_document_model['start_time'] = '2020-01-28T18:40:40.123456Z'
scheduler_document_model['start_time'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_document_model['state'] = 'initializing'
scheduler_document_model['target'] = 'testString'
scheduler_document_model['target_proxy'] = 'testString'
Expand Down Expand Up @@ -15342,11 +15343,11 @@ def test_scheduler_document_serialization(self):
scheduler_document_model_json['error_count'] = 0
scheduler_document_model_json['id'] = 'testString'
scheduler_document_model_json['info'] = scheduler_info_model
scheduler_document_model_json['last_updated'] = '2020-01-28T18:40:40.123456Z'
scheduler_document_model_json['last_updated'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_document_model_json['node'] = 'testString'
scheduler_document_model_json['source'] = 'testString'
scheduler_document_model_json['source_proxy'] = 'testString'
scheduler_document_model_json['start_time'] = '2020-01-28T18:40:40.123456Z'
scheduler_document_model_json['start_time'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_document_model_json['state'] = 'initializing'
scheduler_document_model_json['target'] = 'testString'
scheduler_document_model_json['target_proxy'] = 'testString'
Expand Down Expand Up @@ -15417,7 +15418,7 @@ def test_scheduler_job_serialization(self):
# Construct dict forms of any model objects needed in order to build this model.

scheduler_job_event_model = {} # SchedulerJobEvent
scheduler_job_event_model['timestamp'] = '2020-01-28T18:40:40.123456Z'
scheduler_job_event_model['timestamp'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_job_event_model['type'] = 'testString'

scheduler_info_model = {} # SchedulerInfo
Expand All @@ -15442,7 +15443,7 @@ def test_scheduler_job_serialization(self):
scheduler_job_model_json['node'] = 'testString'
scheduler_job_model_json['pid'] = 'testString'
scheduler_job_model_json['source'] = 'testString'
scheduler_job_model_json['start_time'] = '2020-01-28T18:40:40.123456Z'
scheduler_job_model_json['start_time'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_job_model_json['target'] = 'testString'
scheduler_job_model_json['user'] = 'testString'

Expand Down Expand Up @@ -15473,7 +15474,7 @@ def test_scheduler_job_event_serialization(self):

# Construct a json representation of a SchedulerJobEvent model
scheduler_job_event_model_json = {}
scheduler_job_event_model_json['timestamp'] = '2020-01-28T18:40:40.123456Z'
scheduler_job_event_model_json['timestamp'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_job_event_model_json['type'] = 'testString'

# Construct a model instance of SchedulerJobEvent by calling from_dict on the json representation
Expand Down Expand Up @@ -15504,7 +15505,7 @@ def test_scheduler_jobs_result_serialization(self):
# Construct dict forms of any model objects needed in order to build this model.

scheduler_job_event_model = {} # SchedulerJobEvent
scheduler_job_event_model['timestamp'] = '2020-01-28T18:40:40.123456Z'
scheduler_job_event_model['timestamp'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_job_event_model['type'] = 'testString'

scheduler_info_model = {} # SchedulerInfo
Expand All @@ -15528,7 +15529,7 @@ def test_scheduler_jobs_result_serialization(self):
scheduler_job_model['node'] = 'testString'
scheduler_job_model['pid'] = 'testString'
scheduler_job_model['source'] = 'testString'
scheduler_job_model['start_time'] = '2020-01-28T18:40:40.123456Z'
scheduler_job_model['start_time'] = datetime_to_string(string_to_datetime("2019-01-01T12:00:00.000Z"))
scheduler_job_model['target'] = 'testString'
scheduler_job_model['user'] = 'testString'

Expand Down