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

Non-Python code exists where it shouldn't #19

Open
cyberphor opened this issue Jul 29, 2024 · 1 comment
Open

Non-Python code exists where it shouldn't #19

cyberphor opened this issue Jul 29, 2024 · 1 comment

Comments

@cyberphor
Copy link

Discussion

Several .py files include the text below even though it's not Python code. I assume it's added automatically by the OpenAPI generator, but I could be wrong.

## eMASS API v3.12 Specification

The emass_client_api is a Python client that implements the [Enterprise Mission Assurance Support Service (eMASS)](https://disa.mil/~/media/Files/DISA/Fact-Sheets/eMASS.pdf)
Representational State Transfer (REST) Application Programming Interface (API) specifications.


This Python package was generated from the eMASS API specification:

- API version: v3.12
- Package version: 3.12.0
- Build date: 2023-10-10T14:36:02.975730Z[Etc/UTC]

## Requirements.

Python 3.7+

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:


pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)

Then import the package:

import emass_client


### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).


python setup.py install --user

(or `sudo python setup.py install` to install the package for all users)

Then import the package:

import emass_client


### Tests

Execute `pytest` to run the tests.

Recommendation

Remove or comment-out the lines mentioned above.

@cyberphor
Copy link
Author

Submitted a pull request (#20) to address this issue.

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

No branches or pull requests

1 participant