Skip to content

Conversation

@tobiasraabe
Copy link
Member

@tobiasraabe tobiasraabe commented Nov 17, 2020

Whenever a list with a single element or a dictionary with only a 0-valued key is passed to one of the decorators, the dictionary is preserved and available inside the function instead of passing just the single value.

@tobiasraabe tobiasraabe added this to the v0.0.10 milestone Nov 17, 2020
@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #42 (8aec731) into main (58358ed) will increase coverage by 0.07%.
The diff coverage is 97.82%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   89.20%   89.28%   +0.07%     
==========================================
  Files          54       54              
  Lines        4362     4394      +32     
==========================================
+ Hits         3891     3923      +32     
  Misses        471      471              
Flag Coverage Δ
end_to_end 75.10% <60.86%> (-0.17%) ⬇️
integration 41.89% <52.17%> (+0.90%) ⬆️
unit 68.82% <86.95%> (+0.84%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/_pytask/nodes.py 96.38% <95.23%> (+0.23%) ⬆️
tests/test_execute.py 100.00% <100.00%> (ø)
tests/test_nodes.py 92.42% <100.00%> (+0.68%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 58358ed...8aec731. Read the comment docs.

@tobiasraabe tobiasraabe merged commit 86c2c48 into main Nov 18, 2020
@tobiasraabe tobiasraabe deleted the preserve-input-type branch November 18, 2020 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants