python-irodsclient
python-irodsclient copied to clipboard
A Python API for iRODS
`irods.test.query_test.TestQuery.test_files_query_case_sensitive`'s `between` test fails for mysql
This was first discovered in https://github.com/irods/python-irodsclient/issues/597. See also: https://github.com/irods/python-irodsclient/issues/597#issuecomment-2263583927 and https://github.com/irods/irods/issues/7930 We need to be able to detect the database type being used in the iRODS server and change the...
This kind of approach is sometimes used as an error guard on an iRODS api call and its possible consequence, the raising of an iRODSException due to a fatal error...
python-irodsclient 2.0.1 irods 4.3.2 I am observing unnecessary pep-invokes (and irrelevant size information in the len attribute) when an object that its size is under the parallel threshold (size is...
Check if the `user` named (may be a user or group) has privilege at or above the given `access_level` to the collection or data object named by `path`
Once we are Py3 only... We should convert to use argparse everywhere (away from getopt). https://docs.python.org/3/library/argparse.html#module-argparse
It seems this is possible: https://github.com/irods/python-irodsclient/blob/067e63d1075d97d240f45a427495673aac5aaa07/irods/connection.py#L532-L536 However, this is not documented anywhere, and it's not clear (at least to me) whether this option is available outside of PAM authentication (this...
configure_logger does not belong in pool_test.py. Ultimately it's more of a general use helper for tests. (And we have such a module, `irods.test.helpers` )
It seems that this `irods.test.helpers.make_session` function has grown to be useful beyond just the tests. Should we move it into this module so that it can be used directly? If...
- [ ] `test_temporary_xml_mode_change_with_operation_as_proof__issue_586` - [ ] `test_setting_xml_parser_choice_by_environment_only__issue_584` From these review comments: https://github.com/irods/python-irodsclient/pull/589#discussion_r1686611670 and https://github.com/irods/python-irodsclient/pull/585#discussion_r1684567214 These tests will be skipped if the environment in which the test is running is...
Running the following code... ```python from irods.session import iRODSSession with iRODSSession(host='localhost', port=1247, user='rods', password='rods', zone='tempZone') as session: hexvalue = "53:6b:6f:70:65:43:61:6c:58:c3:af:c2:bf:c2:bd:c3:af:c2:bf:c2:bd:23:01:32:64:31" hex_list = [int(byte, 16) for byte in hexvalue.split(":")] string_value =...