Skip to content

allow setting filter conditions as functions #14

@lsloan

Description

@lsloan

KalturaApiClient currently allows conditions of various filters to be set via assignment. Like this…

mediaFilter = KalturaMediaEntryFilter()
mediaFilter.categoriesMatchAnd = categoryFullName
mediaFilter.typeIn = (1, 2, 5)

It would be helpful to allow these conditions to be set as function calls, too. Additionally, the functions should support fluent coding, so they may be chained together. For example…

mediaFilter = (KalturaMediaEntryFilter()
  .categoriesMatchAnd(categoryFullName).typeIn((1, 2, 5)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions