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
The Koza documentation suggests iterating through rows in a transform by writing the code:
while (row := koza_app.get_row()) is not None:
What is the purpose of is not None here? get_row() never seems to return None, only the result of a source's reader. That return, as far as I can tell, is always Dict[str, Any] and never None. The is not None is not hurting anything, but seems unnecessary?
The text was updated successfully, but these errors were encountered:
The Koza documentation suggests iterating through rows in a transform by writing the code:
What is the purpose of
is not None
here?get_row()
never seems to returnNone
, only the result of a source's reader. That return, as far as I can tell, is alwaysDict[str, Any]
and neverNone
. Theis not None
is not hurting anything, but seems unnecessary?The text was updated successfully, but these errors were encountered: