devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
273 stars 144 forks source link

Handling int arguments in create_aql_text method #349

Closed nthe closed 2 years ago

nthe commented 2 years ago

Hi, I'm using this module in one of my projects and noticed that the .offset and .limit arguments are not properly handled in the ArtifactoryPath.create_aql_text static method. The values of these properties are usually of int type.

Check out this syntax section with an example of both properties https://www.jfrog.com/confluence/display/JFROG/Artifactory+Query+Language#ArtifactoryQueryLanguage-Syntax

I've also updated one unit-test to cover these cases.

allburov commented 2 years ago

@nthe thank you for the contribution!