Comments (6)
I believe this is related to the version 3.2 of mashumaro that fixed no error when passing None values to fields that shouldn't be None.
if None
value is ok for totalDependencies
then this field should be annotated as Optional[int]
to fix this issue.
from pysnyk.
I am running into this issue a well, i think TotalDependencies needs to be annotated as mentioned above!
from pysnyk.
We're also experiencing this issue.
from pysnyk.
Same issue here. I seem to be seeing this error pop up when pysnyk runs into an IaC project while using client.organizations.get(org_id).projects.get(p.id).issueset_aggregated.all()
from pysnyk.
I believe I corrected this in #169. If so, please mark this as closed/resolved.
from pysnyk.
@ig596 I just tried with version 0.9.18 and still get the same error using the simple test at the top of the issue
from pysnyk.
Related Issues (20)
- [BUG]: Tags Manager does not work properly
- [FEAT]: The main client should be able to return all API fields.
- [BUG]: Example 1 projects.all() produces an unhandled exception. HOT 3
- [BUG]: Example2 Needs updated to issueset_addregated.all(), issueset.all() returns 404. HOT 1
- [BUG]: Nested objects not decoded with to_dict() or to_json()
- [BUG]: Packages can be missing the version field
- [BUG]: Exception Raised When Getting Dependency Graph for Project That Isn't Using a Supported Package Manager
- [BUG]: Support for `owner` and `importingUser` in Project Class
- 0.9.6 availability HOT 2
- [FEAT]: Prepare PySnyk for deprecation of V1 List All Projects HOT 3
- [BUG]: 'NoneType' object has no attribute 'get' ProjectManager._rest_to_v1_response_format HOT 1
- [BUG]: Pagination with the REST API fails when iterating on several orgs HOT 1
- [BUG]: importlib-metadata version requirement several major versions behind. HOT 2
- [BUG]: Improper Handling of Version and Limit Parameters on Get Rest Pages in v0.9.12 HOT 4
- [BUG]: imageCluster not available from projects lists HOT 4
- [BUG]: The introducedThrough property is empty for every issue in issueset_aggregated.all().issues
- [FEAT]: replace dependency on Retry with a more actively maintained dependency that does not raise CVE-2022-42969 in other platforms
- [BUG]: get_rest_pages not breaking loop when next = self or data.len() = 0 HOT 2
- [Question]: How to get the vulnerabilities of "Code Analysis" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysnyk.