Skip to content

Releases: LabKey/labkey-api-python

2.5.0

06 Jul 20:36
db4c1db

Choose a tag to compare

  • Container API
    • add rename
    • add get_containers
  • Add transform_helper to labkey.utils
    • See docs in docs/transform_helper.md for more information

2.3.0

30 Jun 22:47
7644bd6

Choose a tag to compare

  • Add hostname property to ServerContext
  • Add base_url property to ServerContext
  • Add webdav_client method to ServerContext
    • This method returns a webdavclient3 Client instance
  • Add webdav_path method to ServerContext
  • Add docs for WebDav support
  • Add unit tests for ServerContext

2.2.0

11 Aug 12:00
f5bcd73

Choose a tag to compare

  • Add domain.get_domain_details API to domain module.
  • Support saving domain options via domain.save.
  • Fix ConditionalFormat.to_json() to match server response.

2.1.0

12 May 17:31
9a4daf6

Choose a tag to compare

  • 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

01 Mar 23:34
88fbf3d

Choose a tag to compare

Fix Issue 42489

  • Updated Run.to_json() to drop unset values

2.0.0

22 Oct 15:30
8601e72

Choose a tag to compare

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)"
  • Remove unsupported modules
  • Update example code

1.4.1

08 Sep 18:10
11d143f

Choose a tag to compare

  • 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

17 Jun 20:09
99a0a01

Choose a tag to compare

  • Add ignore_filter arg to select_rows

1.3.0

27 May 19:46
2f7cddb

Choose a tag to compare

  • 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

09 Sep 18:56
f9c65de

Choose a tag to compare

  • Added truncate_table function (#29)