def get_endpoint_by_service_type(self, service_type, endpoint_type):

        return self.keystone_client.service_catalog.url_for(
            service_type=service_type,
            endpoint_type=endpoint_type,
            region_name=self.config.cloud.region
        )
This should generate an expression that picks the lower value for comparison.
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/identity/keystone.py/KeystoneIdentity.get_endpoint_by_service_type--crossover with--dataset/ETHPy150Open thedrow/django-natural-query/tests/unit/test_date_natural_query_descriptor.py/DateNaturalQueryDescriptorTestCase.test_concated_gt_operator_generates_the_right_expression_for_the_greater_than_week_day_lookup