Skip to content

Conversation

@vlouvet
Copy link
Contributor

@vlouvet vlouvet commented Sep 18, 2025

This PR would address the httpx package pinning to allow using the latest minor version.

Also update the settings file to make testing easier.

Finally, update the pyodbc package name to resolve a failure of 'poetry check'

add REST API example in Programmatic use section
* updated settings to add test specific parameters

* updated httpx package pinning to allow newer versions

* fixed pyodbc package name to pass poetry check
@codecov
Copy link

codecov bot commented Sep 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.02%. Comparing base (38bc66c) to head (0f63e9f).
⚠️ Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
+ Coverage   35.76%   37.02%   +1.26%     
==========================================
  Files          25       25              
  Lines        1071     1083      +12     
==========================================
+ Hits          383      401      +18     
+ Misses        688      682       -6     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* move wsdl version to a config property
@vlouvet
Copy link
Contributor Author

vlouvet commented Oct 15, 2025

@iloveitaly please review

"poetry.lock": true
}
},
"python.testing.pytestArgs": [
Copy link
Collaborator

Choose a reason for hiding this comment

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

unrelated, remove please


class NetSuiteSoapApi:
version = "2021.1.0"
version = getattr(Config, "wsdl_version", "2024.2.0")
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's not update the default.


@property
def wsdl_version(self) -> str:
return "2024.2.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

if we are adding this, why do we need the default above?

orjson = ["orjson"]
# TODO doesn't --all-extras solve this for us?
all = ["zeep", "ipython", "orjson", "odbc"]
all = ["zeep", "ipython", "orjson", "pyodbc"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is a big change, can we scope this change to the PR title?

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