MCPcopy Create free account
hub / github.com/slackapi/python-slack-sdk / canvases_sections_lookup

Method canvases_sections_lookup

slack_sdk/web/client.py:2459–2470  ·  view source on GitHub ↗

Find sections matching the provided criteria https://docs.slack.dev/reference/methods/canvases.sections.lookup

(
        self,
        *,
        canvas_id: str,
        criteria: Dict[str, Any],
        **kwargs,
    )

Source from the content-addressed store, hash-verified

2457 return self.api_call("canvases.access.delete", params=kwargs)
2458
2459 def canvases_sections_lookup(
2460 self,
2461 *,
2462 canvas_id: str,
2463 criteria: Dict[str, Any],
2464 **kwargs,
2465 ) -> SlackResponse:
2466 """Find sections matching the provided criteria
2467 https://docs.slack.dev/reference/methods/canvases.sections.lookup
2468 """
2469 kwargs.update({"canvas_id": canvas_id, "criteria": json.dumps(criteria)})
2470 return self.api_call("canvases.sections.lookup", params=kwargs)
2471
2472 # --------------------------
2473 # Deprecated: channels.*

Callers 2

test_syncMethod · 0.45
test_asyncMethod · 0.45

Calls 1

api_callMethod · 0.45

Tested by 2

test_syncMethod · 0.36
test_asyncMethod · 0.36