Compare commits
4 Commits
02bee714b5
...
1.0.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acbd11369e | ||
|
|
de1284b896 | ||
| 535a5d6ccd | |||
| c2bb86c138 |
@@ -215,7 +215,7 @@ class GLPIAPI:
|
|||||||
"users_id" : username
|
"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)
|
return requests.put(uri, headers=self.Headers, json=body)
|
||||||
|
|
||||||
def SetCustomField(self, itemType, containerName, containerID, itemId, fieldName, data):
|
def SetCustomField(self, itemType, containerName, containerID, itemId, fieldName, data):
|
||||||
|
|||||||
@@ -7,9 +7,12 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "GLPIAPI"
|
name = "GLPIAPI"
|
||||||
version = "1.0.2"
|
version = "1.0.3"
|
||||||
description = "A module python to make it easier to use GLPI API"
|
description = "A module python to make it easier to use GLPI API"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
dependencies = [
|
||||||
|
"requests >= 2.32.5"
|
||||||
|
]
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.7"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3"
|
"Programming Language :: Python :: 3"
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
__all__ = ["GLPIAPI"]
|
|
||||||
Reference in New Issue
Block a user