grai_source_metabase
mock_tools

faker_dep_wrapper

def faker_dep_wrapper(fn: Callable[..., T])

Arguments:

fn (Callable[..., T]):

Returns:

MockMetabaseObjects Objects

class MockMetabaseObjects()

mock_question

@staticmethod
@faker_dep_wrapper
def mock_question()

mock_table

@staticmethod
@faker_dep_wrapper
def mock_table()

mock_edge

@classmethod
@faker_dep_wrapper
def mock_edge(cls, type: str = "tq")

Arguments:

  • type str, optional - (Default value = "tq")

Returns: