1
0
mirror of synced 2025-12-21 11:01:41 -05:00
Files
airbyte/airbyte-integrations/connectors/source-github/source_github/utils.py
Serhii Chvaliuk c10a268bde 🐛 Source Github: add incremental for WorkflowRuns (#13115)
* add incremental for `workflowruns`

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-05-27 21:01:28 +03:00

12 lines
231 B
Python

#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
def getter(D: dict, key_or_keys):
if not isinstance(key_or_keys, list):
key_or_keys = [key_or_keys]
for k in key_or_keys:
D = D[k]
return D