Releases: LabKey/labkey-api-python
Releases · LabKey/labkey-api-python
2.1.0
- Add support for ontology based column filters ONTOLOGY_IN_SUBTREE and ONTOLOGY_NOT_IN_SUBTREE
- ServerContext.make_request: payload is now optional
- ServerContext.make_request: add json kwarg
- This automatically does json_dumps and sets the content-type header for you
- Add impersonate_user and stop_impersonating to security module (including APIWrapper)
- Add more environment variables for integration test configuration
- host, port, and context_path can now be overridden via env vars
2.0.1
Fix Issue 42489
- Updated Run.to_json() to drop unset values
2.0.0
Add APIWrapper, remove Python 2 support
- Add APIWrapper
- This wraps all of the supported APIs so you don't need to pass around a server_context
- Remove support for Python 2.x
- container.create: rename folderType arg to folder_type, rename isWorkbook arg to is_workbook
- Add Type annotations
- We don't have 100% of our API methods typed yet, but we are getting there
- Format code with Black (a static code formatter)
- remove build_url helper
- it was just a single line wrapper around server_context
- remove create_server_context
- It was just a wrapper around ServerContext, you can replace all usages of create_server_context with ServerContext
- Removed various "from_data" methods
- They were all simple one line wrappers around Class constructors that were not needed if you were using any you
may update your code e.g. "SomeClass.from_data(data)" can be changed to "SomeClass(**data)"
- They were all simple one line wrappers around Class constructors that were not needed if you were using any you
- Remove unsupported modules
- Update example code
1.4.1
- Add integration tests
- NOTE: The next planned release will be 2.0.0 and is expected to drop support for Python 2.x, we plan to introduce
code that will only be compatible with Python 3.6 and beyond. Python 2.x is no longer supported by the PSF as of
January 1st, 2020.
1.4.0
- Add
ignore_filter
arg toselect_rows
1.3.0
- domain.create() now iterates through its conditional formats and converts instances or lists of QueryFilter to their string format.
- domain.conditional_format() provides a wrapper for creating a conditional format--typically to be used in updating
- Added examples for domain.create, domain.conditional_format, and updating QC state.
1.2.0
1.1.0
- Add isblank and isnonblank filter types (#23)
- Fix issue with Query API overwriting query filters with the same field/comparison (#20)
- Use pytest as the default test runner (#24)
Thanks to @AetherUnbound for these changes
1.0.1
- Add
__repr__
forServerContext
andQueryFilter
. Thanks to @AetherUnbound for this contribution.
1.0.0
- BREAKING CHANGE: in labkey.experiment ProtocolOutput has been renamed to RunItem
- Provide a default encoder for json.dumps to better handle datetime (#14)