Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@anovis
Copy link
Collaborator

@anovis anovis commented Dec 7, 2022

Updated logic to pass through the backend class to the resource and infra handlers instead of just the backend string name. This allows us to add some backend properties that can be used by the various resources.

such as

self.backend.http_endpoint

@anovis anovis marked this pull request as ready for review December 7, 2022 21:59
@codecov-commenter
Copy link

Codecov Report

Base: 88.70% // Head: 88.50% // Decreases project coverage by -0.19% ⚠️

Coverage data is based on head (d351138) compared to base (0e1a030).
Patch coverage: 95.38% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #290      +/-   ##
==========================================
- Coverage   88.70%   88.50%   -0.20%     
==========================================
  Files          45       46       +1     
  Lines        3655     3670      +15     
==========================================
+ Hits         3242     3248       +6     
- Misses        413      422       +9     
Impacted Files Coverage Δ
goblet/decorators.py 86.23% <ø> (ø)
goblet/infrastructures/infrastructure.py 81.25% <ø> (ø)
goblet/resources/http.py 100.00% <ø> (ø)
goblet/backends/backend.py 84.31% <66.66%> (-0.54%) ⬇️
goblet/backends/cloudfunctionv2.py 90.38% <66.66%> (-1.46%) ⬇️
goblet/app.py 81.92% <83.33%> (-6.03%) ⬇️
goblet/__version__.py 100.00% <100.00%> (ø)
goblet/backends/__init__.py 100.00% <100.00%> (ø)
goblet/backends/cloudfunctionv1.py 95.91% <100.00%> (+0.26%) ⬆️
goblet/backends/cloudrun.py 89.47% <100.00%> (+0.34%) ⬆️
... and 18 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@anovis anovis merged commit dbb90a7 into main Dec 8, 2022
@anovis anovis deleted the backend-http-property branch July 12, 2023 16:06
quajones pushed a commit to quajones/goblet that referenced this pull request Oct 19, 2023
Updated logic to pass through the backend class to the resource and infra handlers instead of just the backend string name. This allows us to add some backend properties that can be used by the various resources. 

such as 

`self.backend.http_endpoint`
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.

3 participants