Skip to content

Conversation

@texasaggie97-zz
Copy link
Contributor

  • This contribution adheres to CONTRIBUTING.md.
  • I've updated CHANGELOG.md if applicable.
  • I've addedupdated tests applicable for this pull request

What does this Pull Request accomplish?

  • Moves sites from parameter to repeated capbility

List issues fixed by this Pull Request below, if any.

What testing has been done?

  • System

@codecov
Copy link

codecov bot commented Feb 24, 2020

Codecov Report

Merging #1290 into master will decrease coverage by 4.25%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1290      +/-   ##
==========================================
- Coverage   96.09%   91.84%   -4.26%     
==========================================
  Files          10       20      +10     
  Lines        1665     3616    +1951     
==========================================
+ Hits         1600     3321    +1721     
- Misses         65      295     +230
Flag Coverage Δ
#codegenunittests 88.21% <ø> (?)
#nifakeunittests 96.3% <ø> (ø) ⬆️
#nimodinstunittests 96.19% <ø> (ø) ⬆️
#nitclkunittests 96.09% <ø> (ø) ⬆️
Impacted Files Coverage Δ
generated/nifake/nifake/_converters.py 96.42% <ø> (ø) ⬆️
build/helper/documentation_helper.py 89.42% <0%> (ø)
build/helper/parameter_usage_options.py 100% <0%> (ø)
build/helper/helper.py 88.28% <0%> (ø)
build/helper/documentation_snippets.py 90.8% <0%> (ø)
build/helper/__init__.py 100% <0%> (ø)
build/helper/metadata_add_all.py 81.35% <0%> (ø)
build/helper/metadata_merge_dicts.py 89.01% <0%> (ø)
build/helper/metadata_filters.py 78.16% <0%> (ø)
build/helper/codegen_helper.py 92.35% <0%> (ø)
... and 1 more

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 a8b5cb6...256b389. Read the comment docs.

@texasaggie97-zz texasaggie97-zz dismissed sbethur’s stale review March 3, 2020 00:14

Comments addresssed

Copy link
Contributor

@sbethur sbethur left a comment

Choose a reason for hiding this comment

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

Also, please merge latest from master.

@texasaggie97-zz texasaggie97-zz dismissed sbethur’s stale review March 11, 2020 19:15

Comments addressed

Copy link
Contributor

@sbethur sbethur left a comment

Choose a reason for hiding this comment

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

A new fancy function got added in another PR. You need to add sites rep-cap to that function and update the system test.

It has already been taken care of.

Copy link
Member

@marcoskirsch marcoskirsch left a comment

Choose a reason for hiding this comment

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

I have questions on why some methods have a site parameter rather than use the repeated capabilities. I suspect it is because only one site is accepted. But I don't think that's a convincing argument. We have methods that use the channels repeated capability in other APIs and only allow specifying one at a time.

We should discuss this in the API review.

:type site: str
:type site: str or int
Copy link
Member

Choose a reason for hiding this comment

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

why didn't we make the site parameter a repeated capability?

:type site: str
:type site: str or int
Copy link
Member

Choose a reason for hiding this comment

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

why didn't we make the site parameter a repeated capability?

:type site: str
:type site: str or int
Copy link
Member

Choose a reason for hiding this comment

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

why didn't we make the site parameter a repeated capability?

@marcoskirsch marcoskirsch merged commit b93dbc3 into master Mar 20, 2020
@marcoskirsch marcoskirsch deleted the bug1111/sites_rep_cap branch March 20, 2020 02:01
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.

nidigital should expose sites as repeated capabilities

4 participants