You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allows setting table name via property on DltResource (#593)
* allows setting table name in resource via property
* incremental load snippets cleanup and simplification
* improves exceptions on wrong datatypes in run
* bumps to version 0.3.12
"""Builds full db dataset (schema) name out of configured dataset name and schema name: {dataset_name}_{schema.name}. The resulting name is normalized.
56
56
57
-
If default schema name equals schema.name, the schema suffix is skipped.
57
+
If default schema name is None or equals schema.name, the schema suffix is skipped.
msg="A pipe generator element must be an Iterator (ie. list or generator function). Generator element is typically created from a `data` argument to pipeline.run or extract method."
68
+
msg+="dlt will evaluate functions that were passed as data argument. If you passed a function the returned data type is not iterable. "
69
+
type_name=str(type(gen))
70
+
msg+=f" Generator type is {type_name}."
71
+
if"DltSource"intype_name:
72
+
msg+=" Did you pass a @dlt.source decorated function without calling it?"
73
+
if"DltResource"intype_name:
74
+
msg+=" Did you pass a function that returns dlt.resource without calling it?"
75
+
76
+
super().__init__(pipe_name, msg)
77
+
78
+
65
79
classResourceNameMissing(DltResourceException):
66
80
def__init__(self) ->None:
67
81
super().__init__(None, """Resource name is missing. If you create a resource directly from data ie. from a list you must pass the name explicitly in `name` argument.
In **key pair authentication** you replace password with a private key exported in PEM format. The key may be encrypted. In that case you must provide a passphrase.
0 commit comments