[ BUG ] Version check needs fix in /samples/identity/graphql_pagation.py #1281
Labels
bug 🐛
Something isn't working
code samples
Functioning sample code to get you started
identity protection
Identity Protection issues and questions
Describe the bug
Version check logic needs to satisfy minor version higher than "11" even if major version is higher than "1.2"
To Reproduce
Run script with a major version higher than 1.2 and a minor version lower than 11. e.g. falconpy version 1.4.6
Expected behavior
Script raises error even though major version is above version needed.
Environment (please complete the following information):
Additional context
Logic should be updated to something like this so that if a major version is above 1.2 it will pass version check even if the minor version is less than 11:
if major_minor > 1.2:
valid_version = True
elif major_minor == 1.2 and int(vers[2]) >= 11:
valid_version = True
The text was updated successfully, but these errors were encountered: