subgrounds.pagination.utils module

subgrounds.pagination.utils.merge(data1, data2)

Merges data1 and data2 and returns the combined result.

data1 and data2 must be of the same type. Either both are dict, list or anything else.

Parameters
  • data1 (list[Any] | dict[str, Any] | Any) -- First data blob

  • data2 (list[Any] | dict[str, Any] | Any) -- Second data blob

Returns

Combined data blob

Return type

list[Any] | dict[str, Any] | Any