tinybird 0.0.1.dev11__tar.gz → 0.0.1.dev12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tinybird might be problematic. Click here for more details.
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/build.py +3 -13
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/setup.cfg +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/datafile.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/auth.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/branch.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/connection.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/common.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/fmt.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/local.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/prompts.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/tag.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/test.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird.egg-info/top_level.txt +0 -0
|
@@ -80,19 +80,12 @@ class FileChangeHandler(FileSystemEventHandler):
|
|
|
80
80
|
except Exception as e:
|
|
81
81
|
click.echo(FeedbackManager.error_exception(error=e))
|
|
82
82
|
|
|
83
|
-
def on_created(self, event: Any) -> None:
|
|
84
|
-
if not event.is_directory and any(event.src_path.endswith(ext) for ext in [".datasource", ".pipe", ".ndjson"]):
|
|
85
|
-
click.echo(FeedbackManager.highlight(message=f"\n\n⟲ Changes detected in {event.src_path}\n"))
|
|
86
|
-
try:
|
|
87
|
-
self.process([event.src_path])
|
|
88
|
-
except Exception as e:
|
|
89
|
-
click.echo(FeedbackManager.error_exception(error=e))
|
|
90
|
-
|
|
91
83
|
|
|
92
84
|
def watch_files(
|
|
93
85
|
filenames: List[str],
|
|
94
86
|
process: Union[Callable[[List[str]], None], Callable[[List[str]], Awaitable[None]]],
|
|
95
87
|
shell: BuildShell,
|
|
88
|
+
folder: str,
|
|
96
89
|
) -> None:
|
|
97
90
|
# Handle both sync and async process functions
|
|
98
91
|
async def process_wrapper(files: List[str]) -> None:
|
|
@@ -113,10 +106,7 @@ def watch_files(
|
|
|
113
106
|
event_handler = FileChangeHandler(filenames, lambda f: asyncio.run(process_wrapper(f)))
|
|
114
107
|
observer = Observer()
|
|
115
108
|
|
|
116
|
-
|
|
117
|
-
for filename in filenames:
|
|
118
|
-
path = filename if os.path.isdir(filename) else os.path.dirname(filename)
|
|
119
|
-
observer.schedule(event_handler, path=path, recursive=True)
|
|
109
|
+
observer.schedule(event_handler, path=folder, recursive=True)
|
|
120
110
|
|
|
121
111
|
observer.start()
|
|
122
112
|
|
|
@@ -238,7 +228,7 @@ async def build(
|
|
|
238
228
|
if watch:
|
|
239
229
|
shell = BuildShell(folder=folder)
|
|
240
230
|
click.echo(FeedbackManager.highlight(message="◎ Watching for changes..."))
|
|
241
|
-
watcher_thread = threading.Thread(target=watch_files, args=(filenames, process, shell), daemon=True)
|
|
231
|
+
watcher_thread = threading.Thread(target=watch_files, args=(filenames, process, shell, folder), daemon=True)
|
|
242
232
|
watcher_thread.start()
|
|
243
233
|
shell.cmdloop()
|
|
244
234
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/build_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb/modules/datafile/parse_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev11 → tinybird-0.0.1.dev12}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|