Comments (3)
If it's code in the bindings that we've had to modify, then I agree. This will also help whenever we have to regenerate the bindings (when a new version of CybOX is release, for example). But if it's purely to reduce duplicative code auto-generated by GenerateDS (which produces lots of duplicative code), then I'm not sure it's worth the effort. It will make the final package a bit smaller, but not reduce the amount of maintentance we have to do.
from python-cybox.
That common code changes a lot between releases of GenerateDS so we can't really tuck it away and reference it later on. We would probably need to go through the process of pulling it out into a common module with each release of the bindings/apis, and modify the bindings to refer to the common module each time. Basically, this is going to create more work for us with each release with little benefit.
Because this is purely to remove duplicative code, will need to be done with each release, and requires us to spend more time altering/updating the bindings I don't think we should invest development time and effort on this.
from python-cybox.
Agree with both of you. There are several ways to solve this, but all require a fairly significant time investment for little payoff besides slightly smaller file sizes.
from python-cybox.
Related Issues (20)
- Is the class for Unix user accounts missing? HOT 1
- Handle description on cybox Object class HOT 5
- URI property missing on Artifact object HOT 1
- PDFFile doesn't implement 3 properties HOT 1
- For some reason the Artifact typed fields don't include the type of the field... HOT 2
- Python installation issues with python 3.6 HOT 5
- stix:ToolInformation should define type_ to be stix:AttackerToolTypeVocab HOT 10
- Can attachments to Email_Message be something besides a file HOT 8
- XSI_TYPE in vocabs not serialized due to logical error HOT 2
- Cannot support list of dates in Email Message Header
- Add FAQ to Documentation about memory usage
- Does the library do any normalisation or validation on input? HOT 2
- Failed to parse STIX file because hash value is empty HOT 2
- IPv4 Multiple Addresses Helper Function Wrapping Observable in Observable HOT 1
- Implement Artifact.Packaging as TypedField
- Parsing fails if algorithm, compression_mechanism, or encryption_mechanism are not present
- NetworkFlow's API code is missing HOT 1
- Importing ABC directly from collections was deprecated and will be removed in Python 3.10. Use collections.abc
- Deprecation warning due to invalid escape sequences
- About cybox.core.action problem HOT 9
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 python-cybox.