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

Remove Python2 compatibility code #58

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

ilfa
Copy link
Member

@ilfa ilfa commented Jul 25, 2024

  1. absolute imports through from __future__ import absolute_import
  2. six library

Copy link
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
6976 4042 58% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
fingerprint_pro_server_api_sdk/init.py 100% 🟢
fingerprint_pro_server_api_sdk/api/init.py 100% 🟢
fingerprint_pro_server_api_sdk/api/fingerprint_api.py 90% 🟢
fingerprint_pro_server_api_sdk/api_client.py 65% 🟢
fingerprint_pro_server_api_sdk/configuration.py 78% 🟢
fingerprint_pro_server_api_sdk/models/init.py 100% 🟢
fingerprint_pro_server_api_sdk/models/asn.py 56% 🟢
fingerprint_pro_server_api_sdk/models/botd_detection_result.py 53% 🟢
fingerprint_pro_server_api_sdk/models/botd_result.py 63% 🟢
fingerprint_pro_server_api_sdk/models/browser_details.py 66% 🟢
fingerprint_pro_server_api_sdk/models/cloned_app_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/common403_error_response.py 52% 🟢
fingerprint_pro_server_api_sdk/models/confidence.py 48% 🟢
fingerprint_pro_server_api_sdk/models/data_center.py 52% 🟢
fingerprint_pro_server_api_sdk/models/deprecated_ip_location.py 72% 🟢
fingerprint_pro_server_api_sdk/models/deprecated_ip_location_city.py 46% 🟢
fingerprint_pro_server_api_sdk/models/emulator_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/error_common403_response.py 46% 🟢
fingerprint_pro_server_api_sdk/models/error_common429_response.py 46% 🟢
fingerprint_pro_server_api_sdk/models/error_common429_response_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/error_event404_response.py 46% 🟢
fingerprint_pro_server_api_sdk/models/error_event404_response_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/error_update_event400_response.py 46% 🟢
fingerprint_pro_server_api_sdk/models/error_update_event400_response_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/error_update_event409_response.py 46% 🟢
fingerprint_pro_server_api_sdk/models/error_update_event409_response_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/error_visitor400_response.py 46% 🟢
fingerprint_pro_server_api_sdk/models/error_visitor400_response_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/error_visitor404_response.py 46% 🟢
fingerprint_pro_server_api_sdk/models/error_visitor404_response_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/error_visits403.py 45% 🟢
fingerprint_pro_server_api_sdk/models/event_response.py 77% 🟢
fingerprint_pro_server_api_sdk/models/event_update_request.py 63% 🟢
fingerprint_pro_server_api_sdk/models/factory_reset_result.py 51% 🟢
fingerprint_pro_server_api_sdk/models/frida_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/high_activity_result.py 48% 🟢
fingerprint_pro_server_api_sdk/models/identification_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/incognito_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/ip_block_list_result.py 51% 🟢
fingerprint_pro_server_api_sdk/models/ip_block_list_result_details.py 51% 🟢
fingerprint_pro_server_api_sdk/models/ip_info_result.py 53% 🟢
fingerprint_pro_server_api_sdk/models/ip_info_result_v4.py 60% 🟢
fingerprint_pro_server_api_sdk/models/ip_info_result_v6.py 60% 🟢
fingerprint_pro_server_api_sdk/models/ip_location.py 72% 🟢
fingerprint_pro_server_api_sdk/models/ip_location_city.py 46% 🟢
fingerprint_pro_server_api_sdk/models/jailbroken_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/location.py 51% 🟢
fingerprint_pro_server_api_sdk/models/location_spoofing_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/privacy_settings_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/product_error.py 52% 🟢
fingerprint_pro_server_api_sdk/models/products_response.py 90% 🟢
fingerprint_pro_server_api_sdk/models/products_response_botd.py 53% 🟢
fingerprint_pro_server_api_sdk/models/products_response_identification.py 53% 🟢
fingerprint_pro_server_api_sdk/models/products_response_identification_data.py 72% 🟢
fingerprint_pro_server_api_sdk/models/proxy_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/raw_device_attributes_result.py 32% 🟢
fingerprint_pro_server_api_sdk/models/remote_control_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/response.py 63% 🟢
fingerprint_pro_server_api_sdk/models/response_visits.py 71% 🟢
fingerprint_pro_server_api_sdk/models/root_apps_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/seen_at.py 51% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_cloned_app.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_emulator.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_factory_reset.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_frida.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_high_activity.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_incognito.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_ip_blocklist.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_ip_info.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_jailbroken.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_location_spoofing.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_privacy_settings.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_proxy.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_raw_device_attributes.py 49% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_remote_control.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_root_apps.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_suspect_score.py 49% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_tampering.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_tor.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_velocity.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_virtual_machine.py 53% 🟢
fingerprint_pro_server_api_sdk/models/signal_response_vpn.py 53% 🟢
fingerprint_pro_server_api_sdk/models/subdivision.py 53% 🟢
fingerprint_pro_server_api_sdk/models/suspect_score_result.py 34% 🟢
fingerprint_pro_server_api_sdk/models/tampering_result.py 51% 🟢
fingerprint_pro_server_api_sdk/models/too_many_requests_response.py 54% 🟢
fingerprint_pro_server_api_sdk/models/tor_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/velocity_interval_result.py 56% 🟢
fingerprint_pro_server_api_sdk/models/velocity_intervals.py 46% 🟢
fingerprint_pro_server_api_sdk/models/velocity_result.py 58% 🟢
fingerprint_pro_server_api_sdk/models/virtual_machine_result.py 45% 🟢
fingerprint_pro_server_api_sdk/models/visit.py 39% 🟢
fingerprint_pro_server_api_sdk/models/vpn_result.py 59% 🟢
fingerprint_pro_server_api_sdk/models/vpn_result_methods.py 58% 🟢
fingerprint_pro_server_api_sdk/models/webhook_visit.py 42% 🟢
fingerprint_pro_server_api_sdk/rest.py 70% 🟢
TOTAL 55% 🟢

updated for commit: 2621ccd by action🐍

Copy link
Contributor

This PR will create a major release 🚀

7.0.0 (2024-07-25)

⚠ BREAKING CHANGES

  • rename error_event403_response, error_event403_response_error, many_requests_response to common403_error_response, error_common403_response too_many_requests_response

Features

  • add delete_visitor_data method (961a165)
  • add osMismatch field to the vpn signal (0b95bda)
  • add remoteControl signal (5c7b149)
  • add revision field to the confidence signal (9b42d6b)
  • add update_event method (752b1c9)
  • add velocity signal (9b31367)
  • add better error reporting in case of wrong data shape (40e9e6a)
  • update schema (c2e99cd)

Bug Fixes

  • don't serialise empty fields in models (9643e1d)
  • remove Python2 compatibility code (2621ccd)
  • update schema with required body field for the updateEvent method (c6eaf5e)

@ilfa ilfa merged commit 8d5a989 into main Jul 25, 2024
11 checks passed
@ilfa ilfa deleted the INTER-801-remove-python2-tails branch July 25, 2024 14:49
@fingerprint-dx-team
Copy link

🎉 This PR is included in version 7.0.0-dev.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@fingerprint-dx-team
Copy link

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants