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.

@@ -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"),