Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the package compatible with zeep 4.2.1 #48

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

TouwaStar
Copy link
Contributor

@TouwaStar TouwaStar commented Sep 18, 2023

Should fix #46

By simply not adding the session argument which according to mvantellingen/python-zeep@2f35b7d

was not used anyway.

@TouwaStar TouwaStar mentioned this pull request Sep 18, 2023
@@ -97,13 +97,9 @@ def _generate_wsdl_url(self) -> str:
def _generate_cache(self) -> zeep.cache.Base:
return zeep.cache.SqliteCache(timeout=60 * 60 * 24 * 365)

def _generate_session(self) -> zeep.requests.Session:
return zeep.requests.Session()

Copy link
Collaborator

Choose a reason for hiding this comment

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

what do we lose removing this?

@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (9d7bdb3) 35.10% compared to head (5aff751) 35.83%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   35.10%   35.83%   +0.73%     
==========================================
  Files          26       26              
  Lines        1054     1052       -2     
==========================================
+ Hits          370      377       +7     
+ Misses        684      675       -9     
Files Coverage Δ
netsuite/soap_api/client.py 64.15% <ø> (+1.88%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iloveitaly iloveitaly merged commit 846d668 into jacobsvante:main Oct 19, 2023
1 of 4 checks passed
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.

Zeep 4.2.0 issues
2 participants