Skip to content

Conversation

@JaviCerveraIngram
Copy link
Collaborator

Support for listing assets, products and tier configs.

# type: (str) -> str
return functools.reduce(
lambda a, b: compat.urljoin(a + ('' if a.endswith('/') else '/'), b),
lambda a, b: compat.urljoin(a + ('' if a.endswith('/') else '/'), b) if b else a,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This has been added to avoid the URL having an additional trailing slash.

@codecov-io
Copy link

codecov-io commented Sep 2, 2019

Codecov Report

Merging #63 into master will increase coverage by 1.35%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
+ Coverage   90.95%   92.31%   +1.35%     
==========================================
  Files          31       32       +1     
  Lines        1438     1470      +32     
==========================================
+ Hits         1308     1357      +49     
+ Misses        130      113      -17
Impacted Files Coverage Δ
connect/resources/fulfillment_automation.py 37.5% <ø> (ø) ⬆️
connect/resources/base.py 94.31% <ø> (+5.68%) ⬆️
connect/resources/usage_automation.py 93.75% <100%> (ø) ⬆️
connect/resources/directory.py 100% <100%> (ø)
connect/resources/__init__.py 100% <100%> (ø) ⬆️
connect/exceptions.py 98.14% <0%> (+1.85%) ⬆️
connect/models/schemas.py 94.16% <0%> (+2.43%) ⬆️
connect/models/server_error_response.py 100% <0%> (+10%) ⬆️

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 5034f88...b354e82. Read the comment docs.

@vgrebenschikov vgrebenschikov merged commit 9e928ee into cloudblue:master Sep 13, 2019
@JaviCerveraIngram JaviCerveraIngram deleted the CPS-36-directory-module branch September 16, 2019 09:36
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.

4 participants