4 Commits

Author SHA1 Message Date
Jason SECULA
acbd11369e fixed variable interpreted in UpdateItemUser
All checks were successful
Build python package / Build (push) Successful in 26s
2026-03-19 09:03:05 +01:00
Jason SECULA
de1284b896 removed build src folder
All checks were successful
Build python package / Build (push) Successful in 23s
2026-03-19 08:55:54 +01:00
535a5d6ccd added dependencies to pyproject
All checks were successful
Build python package / Build (push) Successful in 21s
2026-03-18 20:55:20 +01:00
c2bb86c138 Updated module version in build project file
All checks were successful
Build python package / Build (push) Successful in 23s
2026-03-18 20:26:00 +01:00
3 changed files with 5 additions and 3 deletions

View File

@@ -215,7 +215,7 @@ class GLPIAPI:
"users_id" : username
}
}
uri = f"{self.Server}/apirest.php/itemType/"
uri = f"{self.Server}/apirest.php/{itemType}/"
return requests.put(uri, headers=self.Headers, json=body)
def SetCustomField(self, itemType, containerName, containerID, itemId, fieldName, data):

View File

@@ -7,9 +7,12 @@ build-backend = "setuptools.build_meta"
[project]
name = "GLPIAPI"
version = "1.0.2"
version = "1.0.3"
description = "A module python to make it easier to use GLPI API"
readme = "README.md"
dependencies = [
"requests >= 2.32.5"
]
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3"

View File

@@ -1 +0,0 @@
__all__ = ["GLPIAPI"]