Skip to content
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

When the user creates the model training, createdAt and updatedAt have very tiny difference but should be the same #663

Open
BPylypenko opened this issue Feb 15, 2022 · 0 comments
Labels
bug Something isn't working minor not directly related to functionality and data. No workarounds are needed to complete the action WG:API Working Group: All about odahu api functionality

Comments

@BPylypenko
Copy link
Contributor

Description
When the user creates the model training, createdAt and updatedAt have very tiny difference but should be the same.

Other related entities:

  • Model Training
  • Model Packaging
  • Batch Inference Service
  • Batch Inference Job

Steps to Reproduce

  1. Go to the Swagger API: (<odahu-cluster-name>/swagger/index.html#/Training/)
  2. Make POST request.
  3. Notice that createdAt and updatedAt values have tiny difference.
  4. Make GET request for the training from step (2).
  5. Notice that createdAt and updatedAt values are shorter than from step (3).

Specification:
model-training-specification.txt

Actual result
The createdAt and updatedAt fields have different values after creation of entity.
And POST request returns longer values than GET request.

Expected result
The createdAt and updatedAt values are the same.
And GET request returns the same as POST request.

Attachments
POST request:
Screenshot 2022-02-15 at 11 46 47

GET request after POST:
Screenshot 2022-02-15 at 12 01 16

Environment:

  • ODAHU version: 1.6.0
@BPylypenko BPylypenko added bug Something isn't working minor not directly related to functionality and data. No workarounds are needed to complete the action WG:API Working Group: All about odahu api functionality labels Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor not directly related to functionality and data. No workarounds are needed to complete the action WG:API Working Group: All about odahu api functionality
Projects
None yet
Development

No branches or pull requests

1 participant