tinybird 0.0.1.dev285__py3-none-any.whl → 0.0.1.dev287__py3-none-any.whl
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/datafile/common.py +7 -0
- tinybird/service_datasources.py +911 -0
- tinybird/sql_template.py +16 -2
- tinybird/tb/__cli__.py +2 -2
- tinybird/tb/modules/agent/agent.py +5 -2
- tinybird/tb/modules/agent/explore_agent.py +5 -0
- tinybird/tb/modules/agent/prompts.py +59 -11
- tinybird/tb/modules/agent/utils.py +0 -1
- tinybird/tb/modules/workspace.py +1 -1
- {tinybird-0.0.1.dev285.dist-info → tinybird-0.0.1.dev287.dist-info}/METADATA +2 -1
- {tinybird-0.0.1.dev285.dist-info → tinybird-0.0.1.dev287.dist-info}/RECORD +14 -13
- {tinybird-0.0.1.dev285.dist-info → tinybird-0.0.1.dev287.dist-info}/WHEEL +0 -0
- {tinybird-0.0.1.dev285.dist-info → tinybird-0.0.1.dev287.dist-info}/entry_points.txt +0 -0
- {tinybird-0.0.1.dev285.dist-info → tinybird-0.0.1.dev287.dist-info}/top_level.txt +0 -0
tinybird/datafile/common.py
CHANGED
|
@@ -419,6 +419,9 @@ class Datafile:
|
|
|
419
419
|
|
|
420
420
|
def validate(self):
|
|
421
421
|
if self.kind == DatafileKind.pipe:
|
|
422
|
+
if len(self.nodes) == 0:
|
|
423
|
+
raise DatafileValidationError("Pipe data file must have at least one node")
|
|
424
|
+
|
|
422
425
|
non_standard_nodes_count = 0
|
|
423
426
|
for node in self.nodes:
|
|
424
427
|
node_type = node.get("type", "").lower()
|
|
@@ -2007,6 +2010,10 @@ def parse(
|
|
|
2007
2010
|
"kafka_ssl_ca_pem": kafka_ssl_ca_pem,
|
|
2008
2011
|
"kafka_security_protocol": assign_var("kafka_security_protocol"),
|
|
2009
2012
|
"kafka_sasl_mechanism": assign_var("kafka_sasl_mechanism"),
|
|
2013
|
+
"kafka_sasl_oauthbearer_method": assign_var("kafka_sasl_oauthbearer_method"),
|
|
2014
|
+
"kafka_sasl_oauthbearer_aws_region": assign_var("kafka_sasl_oauthbearer_aws_region"),
|
|
2015
|
+
"kafka_sasl_oauthbearer_aws_role_arn": assign_var("kafka_sasl_oauthbearer_aws_role_arn"),
|
|
2016
|
+
"kafka_sasl_oauthbearer_aws_external_id": assign_var("kafka_sasl_oauthbearer_aws_external_id"),
|
|
2010
2017
|
"kafka_key_avro_deserialization": kafka_key_avro_deserialization_deprecated,
|
|
2011
2018
|
"s3_region": assign_var("s3_region"),
|
|
2012
2019
|
"s3_arn": assign_var("s3_arn"),
|