swimlane.core.adapters.helper module

class swimlane.core.adapters.helper.HelperAdapter(swimlane)[source]

Bases: swimlane.core.resolver.SwimlaneResolver

Adapter providing any miscellaneous API calls not better suited for another adapter

add_comment(app_id, record_id, field_id, message)[source]

Directly add a comment to a record without retrieving the app or record first

Warning

Does not perform any app, record, or field ID validation

Parameters:
  • app_id (str) – Full App ID string
  • record_id (str) – Full parent Record ID string
  • field_id (str) – Full field ID to target reference field on parent Record string
  • message (str) – New comment message body
add_record_references(*args, **kwargs)[source]

Bulk operation to directly add record references without making any additional requests

Warning

Does not perform any app, record, or target app/record validation

Parameters:
  • app_id (str) – Full App ID string
  • record_id (str) – Full parent Record ID string
  • field_id (str) – Full field ID to target reference field on parent Record string
  • target_record_ids (List(str)) – List of full target reference Record ID strings