Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Update to Task API v0.16.1 #4707

Merged
merged 1 commit into from
Sep 12, 2019
Merged

Update to Task API v0.16.1 #4707

merged 1 commit into from
Sep 12, 2019

Conversation

Wiezzel
Copy link

@Wiezzel Wiezzel commented Sep 10, 2019

  • Import environment IDs from Task API instead of declaring them in Golem code.
  • Read the environment ID and prerequisites from CreateTask reply. Save the obtained values in RequestedTask model.

Requirements will be updated when golemfactory/task-api#37 is merged and Task API v0.16.0 is released.

@Wiezzel Wiezzel added the clay label Sep 10, 2019
@Wiezzel Wiezzel self-assigned this Sep 10, 2019
@Wiezzel Wiezzel force-pushed the task_api_envs branch 2 times, most recently from 1d86bdc to 74e9669 Compare September 10, 2019 13:46
@Wiezzel Wiezzel marked this pull request as ready for review September 10, 2019 14:00
Copy link
Contributor

@maaktweluit maaktweluit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

+1 for @Krigpl 's proposal about less repeating mocks

@codecov
Copy link

codecov bot commented Sep 11, 2019

Codecov Report

Merging #4707 into develop will increase coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #4707      +/-   ##
===========================================
+ Coverage    90.23%   90.28%   +0.04%     
===========================================
  Files          211      211              
  Lines        19677    19682       +5     
===========================================
+ Hits         17756    17770      +14     
+ Misses        1921     1912       -9

@Wiezzel Wiezzel force-pushed the task_api_envs branch 2 times, most recently from d94eea3 to 950a4d6 Compare September 12, 2019 10:53
golem/database/schemas/036_schema.py Outdated Show resolved Hide resolved
* Import environment IDs from Task API instead of declaring them in
  Golem code.
* Read the environment ID and prerequisites from CreateTask reply. Save
  the obtained values in RequestedTask model.

Signed-off-by: Adam Wierzbicki <awierzbicki@golem.network>
@Wiezzel Wiezzel changed the title Update to Task API v 0.16.0 Update to Task API v0.16.1 Sep 12, 2019
@Wiezzel Wiezzel merged commit f01f91c into develop Sep 12, 2019
@Wiezzel Wiezzel deleted the task_api_envs branch September 12, 2019 14:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants