-
Notifications
You must be signed in to change notification settings - Fork 107
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
Version 1.3.0 - Developer Enhancements Edition #1013
Conversation
…es in order to avoid potential issues with accidental reference passing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this!
There will be some minor stylistic and code simplicity recommendations later down the line, but this code seems functionally great, passes tests, and the only potential issues we found have been sorted and merged to this branch. The code is much more readable than before, and the documentation is great. The type hints are a huge win for our developer community.
Great work @jshcodes!
FalconPy v1.3.0
Unit test coverage
Bandit analysis
[main] INFO running on Python 3.9.17 Run started:2023-08-07 13:27:52.363086 Test results: No issues identified. Code scanned: Total lines of code: 50788 Total lines skipped (#nosec): 0 Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0):
Added features and functionality
api_complete.py
_api_request/__init__.py
_api_request/_request.py
_api_request/_request_behavior.py
_api_request/_request_connection.py
_api_request/_request_meta.py
_api_request/_request_payloads.py
_api_request/_request_validator.py
_constant/__init__.py
_enum/__init__.py
_enum/_base_url.py
_enum/_container_base_url.py
_enum/_token_fail_reason.py
_error/__init__.py
_error/_exceptions.py
_error/_warnings.py
auth_object
. Refactored to address technical debt and add new functionality._auth_object/__init__.py
_auth_object/_base_falcon_auth.py
_auth_object/_bearer_token.py
_auth_object/_falcon_interface.py
_auth_object/_interface_config.py
_auth_object/_uber_interface.py
_log/__init__.py
_log/_facility.py
_result/__init__.py
_result/_base_resource.py
_result/_base_dictionary.py
_result/_errors.py
_result/_expanded_result.py
_result/_headers.py
_result/_meta.py
_result/_resources.py
_result/_response_component.py
_result/_result.py
_service_class/_init__.py
_service_class/_base_service_class.py
_service_class/_service_class.py
_util/__init__.py
_util/_auth.py
_util/_functions.py
_util/_uber.py
FALCONPY_UNIT_TEST_DEBUG
toDEBUG
._log/__init__.py
_log/_facility.py
FALCON_CLIENT_ID
andFALCON_CLIENT_SECRET
and both must be present in order for this mechanism to be used. Environment Authentication is the last mechanism attempted, meaning all other authentication mechanisms will take precedence._auth_object/_falcon_interface.py
_result/__init__.py
_result/_base_resource.py
_result/_base_dictionary.py
_result/_errors.py
_result/_expanded_result.py
_result/_headers.py
_result/_meta.py
_result/_resources.py
_result/_response_component.py
_result/_result.py
_error/__init__.py
_error/_exceptions.py
_error/_warnings.py
Issues resolved
_result/_result.py
_util/_functions.py
api_complete.py
_auth_object/_falcon_interface.py
_auth_object/_uber_interface.py
creds
andproxy
keywords are not automatically converted to dictionaries. Closes [ ENH ] Detect inbound strings for the creds and proxy keywords and convert them to dictionaries #909._auth_object/_falcon_interface.py
samples/spotlight/spotlight_grab_cves_for_cid.py
Other
samples/spotlight/spotlight_grab_cves_for_cid.py