Repository navigation
Commit 6877100
authored
refactor: move the shared core of the Python bindings into sqlbuild-python-base (#1505)
The native record, enum and error classes, the Python call plumbing, the
host entry calls and the process allocator move into a new PyO3 crate that
every later binding crate can depend on. sqlbuild-python imports them
directly; the extension module surface is unchanged.1 parent d94e5b7 commit 6877100
892 files changed
Lines changed: 7063 additions & 4585 deletions
File tree
- crates
- sqlbuild-python-base
- src
- boundary
- _helpers
- main
- native_host
- _helpers
- main
- records
- _helpers
- compile_records
- compiler_enums
- compiler_errors
- compiler_records
- contract_records
- native_classes
- planner_records
- rule_records
- scope_records
- main
- construct
- fields
- registry
- sqlbuild-python
- src/bindings
- _helpers
- analysis_session
- analysis
- attachments
- audit_command
- auditing
- authored_values
- boundary
- build_command
- build_progress
- cache
- change_selection
- check
- cli
- clone
- command_runtime
- compile_attachment
- compile_command
- compile_context
- compile_delta
- compile_driver
- compile_outputs
- compiled_project
- compiled_views
- compute_logs
- consumption
- contract_command
- contracts
- cost_command
- cost_report
- cost_telemetry
- cursor
- dag_artifact
- dagster_invocation
- dbt_command
- dbt_events
- dbt_interop
- debug_command
- diagnostics
- diff_report
- discovery
- event_exporting
- execution_history
- exported_constants
- fingerprints
- format_command
- freshness
- frontier
- graph
- hand_built
- init_command
- input_loops
- janitor
- lifecycle_events
- lineage
- load
- location_command
- macro_bridge
- manifest
- microbatches
- model_config
- native_host
- observations
- output_capture
- plan_command
- plan_output
- planner_changes
- planner_entries
- planner_identity
- planner_migrations
- planner_phases
- planner_resolution
- planner_scenario
- planner_scope
- planner_selection
- planner_strategy
- planner_warehouse
- presentation_text
- project_assembly
- python_values
- query_command
- recall
- record_behaviours
- records
- refactor
- references
- relation_naming
- render
- result_output
- review_command
- rules
- scenario_command
- scopes
- seed_command
- semantic_checks
- semantic_shapes
- sql_test_command
- sql_test_glue
- sqltext
- state_rows
- type_system
- workspace_commands
- main
- scripts
- fensu_policy
- _helpers
- rules
- native_layering
- _helpers
- native_module_paths
- tests/unit/scripts/native_layering/_helpers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
| 179 | + | |
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | | - | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
0 commit comments