Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlfluff/sqlfluff
/ functions
Functions
2,340 in github.com/sqlfluff/sqlfluff
⨍
Functions
2,340
◇
Types & classes
2,379
↳
Endpoints
59
Method
__getitem__
(self, key: str)
src/sqlfluff/core/templaters/python.py:283
Method
__getitem__
Don't fail when called, remember instead.
src/sqlfluff/core/templaters/jinja.py:76
Method
__getitem__
When var['key'] is called return a placeholder instead of failing.
src/sqlfluff/core/templaters/builtins/dbt.py:51
Method
__getitem__
(self, key)
src/sqlfluff/cli/helpers.py:94
Method
__getitem__
(self, old_segment: BaseSegment)
src/sqlfluff/rules/structure/ST05.py:628
Method
__getstate__
Get the current state to allow pickling.
src/sqlfluff/core/parser/segments/base.py:278
Method
__getstate__
(self)
src/sqlfluff/core/config/fluffconfig.py:188
Method
__gt__
(self, other: "PositionMarker")
src/sqlfluff/core/parser/markers.py:55
Method
__hash__
(self)
src/sqlfluff/core/parser/segments/base.py:77
Method
__hash__
(self)
src/sqlfluff/core/parser/segments/base.py:272
Method
__hash__
Return a constant hash value. Returns: int: A constant hash value.
src/sqlfluff/core/templaters/jinja.py:1238
Method
__init__
(self)
utils/build_parsers.py:81
Method
__init__
(self)
utils/compare_parser_metrics.py:79
Method
__init__
(self, line_no: int, code: str = "LT01")
test/core/linter/linter_test.py:38
Method
__init__
(self, item)
test/core/linter/linter_test.py:575
Method
__init__
(self)
test/core/linter/linter_test.py:638
Method
__init__
(self, line_no: int, code: str = "LT01")
test/core/rules/noqa_test.py:18
Method
__init__
Store a raw value returned for the recursion limit key.
test/cli/recursion_limit_test.py:13
Method
__init__
Calls the base class constructor to set the object's name.
src/sqlfluff/diff_quality_plugin.py:50
Method
__init__
(self, *args, **kwargs)
src/sqlfluff/utils/testing/logging.py:63
Method
__init__
(self, context: RuleContext)
src/sqlfluff/utils/functional/context.py:10
Method
__init__
(self, *_: TemplatedFileSlice, templated_file: TemplatedFile)
src/sqlfluff/utils/functional/templated_file_slices.py:23
Method
__init__
(self, *_: RawFileSlice, templated_file: TemplatedFile)
src/sqlfluff/utils/functional/raw_file_slices.py:21
Method
__init__
( self, *_: BaseSegment, templated_file: Optional[TemplatedFile] = None )
src/sqlfluff/utils/functional/segments.py:33
Method
__init__
(self, raws_with_stack: Sequence[tuple[RawSegment, list[PathStep]]])
src/sqlfluff/utils/reflow/depthmap.py:126
Method
__init__
Override the init method to calculate indent stats.
src/sqlfluff/utils/reflow/elements.py:323
Method
__init__
( self, elements: ReflowSequenceType, root_segment: BaseSegment, reflow_config
src/sqlfluff/utils/reflow/sequence.py:63
Method
__init__
( self, description: Optional[str] = None, segment: Optional["BaseSegment"] = None,
src/sqlfluff/core/errors.py:217
Method
__init__
( self, description: str, segment: "BaseSegment", rule: "BaseRule", fi
src/sqlfluff/core/errors.py:308
Method
__init__
(self, steps: Optional[list[str]] = None)
src/sqlfluff/core/timing.py:10
Method
__init__
(self)
src/sqlfluff/core/timing.py:46
Method
__init__
( self, name: str, root_segment_name: str, lexer_matchers: Optional[list[Lexer
src/sqlfluff/core/dialects/base.py:28
Method
__init__
(self, linter: Linter, config: FluffConfig, processes: int)
src/sqlfluff/core/linter/runner.py:146
Method
__init__
(self, ee: BaseException, fname: Optional[str] = None)
src/sqlfluff/core/linter/runner.py:358
Method
__init__
(self)
src/sqlfluff/core/linter/linting_result.py:41
Method
__init__
( self, config: Optional[FluffConfig] = None, formatter: Optional[FormatterInterface]
src/sqlfluff/core/linter/linter.py:64
Method
__init__
(self, path: str, retain_files: bool = True)
src/sqlfluff/core/linter/linted_dir.py:44
Method
__init__
Initialize a new instance of the class. Args: dialect (Dialect): The dialect used for parsing. max_parse_depth (int):
src/sqlfluff/core/parser/context.py:55
Method
__init__
( self, config: Optional[FluffConfig] = None, dialect: Optional[str] = None )
src/sqlfluff/core/parser/parser.py:17
Method
__init__
( self, name: str, template: str, segment_class: type[RawSegment], sub
src/sqlfluff/core/parser/lexer.py:140
Method
__init__
( self, config: Optional[FluffConfig] = None, last_resort_lexer: Optional[StringLexer]
src/sqlfluff/core/parser/lexer.py:731
Method
__init__
Initialize a new instance of the class. Args: template (str): The template type. raw_class (type[RawSegment]): The ra
src/sqlfluff/core/parser/parsers.py:85
Method
__init__
( self, template: str, raw_class: type[RawSegment], type: Optional[str] = None
src/sqlfluff/core/parser/parsers.py:175
Method
__init__
( self, templates: Collection[str], raw_class: type[RawSegment], type: Optiona
src/sqlfluff/core/parser/parsers.py:227
Method
__init__
( self, template: str, raw_class: type[RawSegment], type: Optional[str] = None
src/sqlfluff/core/parser/parsers.py:279
Method
__init__
Initialize the Rust parser with config or dialect. Args: config: FluffConfig instance (takes precedence over dialect)
src/sqlfluff/core/parser/rust_parser.py:55
Method
__init__
Deal with kwargs common to all grammars. Args: *args: Any number of elements which because the subjects of this g
src/sqlfluff/core/parser/grammar/base.py:100
Method
__init__
( self, *args: str, exclude: Optional[Matchable] = None, terminators: Sequence
src/sqlfluff/core/parser/grammar/base.py:327
Method
__init__
Initialize the class object with the provided arguments. Args: *args (Union[Matchable, str]): Options for elements between delimi
src/sqlfluff/core/parser/grammar/delimited.py:38
Method
__init__
Initialize the object. Args: *args (Union[Matchable, str]): Variable length arguments which can be of type 'Match
src/sqlfluff/core/parser/grammar/sequence.py:391
Method
__init__
Initialize a new instance of the class. This method initializes an instance of the class with the provided arguments. Args:
src/sqlfluff/core/parser/grammar/conditional.py:44
Method
__init__
( self, *args: Union[Matchable, str], max_times: Optional[int] = None, min_tim
src/sqlfluff/core/parser/grammar/anyof.py:67
Method
__init__
( self, *args: Union[Matchable, str], exclude: Optional[Matchable] = None, ter
src/sqlfluff/core/parser/grammar/anyof.py:287
Method
__init__
( self, *args: Union[Matchable, str], max_times: Optional[int] = None, min_tim
src/sqlfluff/core/parser/grammar/anyof.py:311
Method
__init__
( self, preceding_sequences: tuple[tuple[str, ...], ...], )
src/sqlfluff/core/parser/grammar/lookbehind.py:36
Method
__init__
If no other name is provided we extrapolate it from the raw.
src/sqlfluff/core/parser/segments/keyword.py:20
Method
__init__
Stash the bracket segments for later.
src/sqlfluff/core/parser/segments/bracketed.py:21
Method
__init__
Initialise a placeholder with the source code embedded.
src/sqlfluff/core/parser/segments/meta.py:191
Method
__init__
Initialise raw segment. If raw is not provided, we default to _default_raw if present. If pos_marker is not provided, it is assume th
src/sqlfluff/core/parser/segments/raw.py:31
Method
__init__
( self, segments: tuple[BaseSegment, ...], pos_marker: Optional[PositionMarker] = None
src/sqlfluff/core/parser/segments/base.py:1330
Method
__init__
(self, func: Callable[["Dialect"], "Matchable"])
src/sqlfluff/core/parser/segments/generator.py:24
Method
__init__
( self, segments: tuple[BaseSegment, ...], pos_marker: Optional[PositionMarker] = None
src/sqlfluff/core/parser/segments/file.py:25
Method
__init__
Initialise the TemplatedFile. If no templated_str is provided then we assume that the file is NOT templated and that the templated vi
src/sqlfluff/core/templaters/base.py:140
Method
__init__
Placeholder init function. We allow override context here even though the raw templater doesn't apply any templating variables. That'
src/sqlfluff/core/templaters/base.py:521
Method
__init__
(self, override_context: Optional[dict[str, Any]] = None)
src/sqlfluff/core/templaters/placeholder.py:80
Method
__init__
(self, override_context: Optional[dict[str, Any]] = None)
src/sqlfluff/core/templaters/python.py:167
Method
__init__
(self, name: str)
src/sqlfluff/core/templaters/python.py:274
Method
__init__
(self, name: str, undefined_set: set[str])
src/sqlfluff/core/templaters/jinja.py:59
Method
__init__
(self, name: str)
src/sqlfluff/core/templaters/jinja.py:1161
Method
__init__
(self, name: str, callable: Callable[..., Any])
src/sqlfluff/core/templaters/builtins/common.py:16
Method
__init__
(self, identifier: str = "this_model")
src/sqlfluff/core/templaters/builtins/dbt.py:20
Method
__init__
(self, value: Any)
src/sqlfluff/core/templaters/builtins/dbt.py:61
Method
__init__
(self, macro: Callable[..., Any])
src/sqlfluff/core/templaters/builtins/dbt.py:77
Method
__init__
( self, raw_str: str, raw_sliced: list[RawFileSlice], raw_slice_info: dict[Raw
src/sqlfluff/core/templaters/slicers/tracer.py:47
Method
__init__
(self, raw_str: str, env: Environment)
src/sqlfluff/core/templaters/slicers/tracer.py:280
Method
__init__
( self, edit_type: str, anchor: BaseSegment, edit: Optional[Iterable[BaseSegme
src/sqlfluff/core/rules/fix.py:35
Method
__init__
(self, ignores: list[NoQaDirective])
src/sqlfluff/core/rules/noqa.py:56
Method
__init__
( self, anchor: Optional[BaseSegment] = None, fixes: Optional[list["LintFix"]] = None,
src/sqlfluff/core/rules/base.py:101
Method
__init__
(self, code: str, description: str, **kwargs: Any)
src/sqlfluff/core/rules/base.py:431
Method
__init__
(self, name: str, config_info: dict[str, ConfigInfo])
src/sqlfluff/core/rules/base.py:924
Method
__init__
( self, types: set[str], provide_raw_stack: bool = False, allow_recurse: bool
src/sqlfluff/core/rules/crawlers.py:54
Method
__init__
(self)
src/sqlfluff/core/config/loader.py:348
Method
__init__
( self, configs: Optional[ConfigMappingType] = None, extra_config_path: Optional[str]
src/sqlfluff/core/config/fluffconfig.py:89
Method
__init__
(self, config: FluffConfig, context: Any = None)
src/sqlfluff/cli/outputstream.py:17
Method
__init__
(self, config: FluffConfig, output_path: str)
src/sqlfluff/cli/outputstream.py:49
Method
__init__
(self, formatter: OutputStreamFormatter)
src/sqlfluff/cli/commands.py:229
Method
__init__
(self, getter=Callable[[], abc.Sequence])
src/sqlfluff/cli/helpers.py:87
Method
__init__
( self, output_stream: OutputStream, nocolor: Optional[bool], verbosity: int =
src/sqlfluff/cli/formatters.py:88
Method
__init__
(self)
src/sqlfluff/rules/structure/ST05.py:378
Method
__init__
(self, segment: BaseSegment)
src/sqlfluff/rules/structure/ST05.py:618
Method
__init__
(self, anchor: BaseSegment)
src/sqlfluff/rules/ambiguous/AM04.py:16
Method
__init__
(self, violations: list[SQLBaseError], *args: Any)
src/sqlfluff/api/simple.py:66
Method
__init__
(self, override_context: Optional[dict[str, Any]] = None)
plugins/sqlfluff-templater-dbt/sqlfluff_templater_dbt/templater.py:181
Method
__init__
Overwrite __init__ to set config.
plugins/sqlfluff-plugin-example/src/sqlfluff_plugin_example/rules.py:47
Method
__iter__
(self)
test/core/linter/linter_test.py:580
Method
__iter__
(self)
src/sqlfluff/utils/functional/segments.py:154
Method
__iter__
Don't fail when iterated, remember instead.
src/sqlfluff/core/templaters/jinja.py:85
Method
__iter__
Return an iterator that contains only the instance of the class itself. Returns: iterator: An iterator.
src/sqlfluff/core/templaters/jinja.py:1247
Method
__le__
(self, other: "PositionMarker")
src/sqlfluff/core/parser/markers.py:64
Method
__len__
(self)
src/sqlfluff/core/parser/match_result.py:86
← previous
next →
1,101–1,200 of 2,340, ranked by callers