You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/31 20:44:53 UTC

[GitHub] [airflow-client-python] csm10495 opened a new issue, #50: SLAMiss not allowing null value

csm10495 opened a new issue, #50:
URL: https://github.com/apache/airflow-client-python/issues/50

   Example:
   
   ```
   >>> ti = TaskInstanceApi(api_client)
   >>> ti.get_task_instances('tutorial', 'manual__2022-10-31T20:32:58.139267+00:00')
   ...
   ApiValueError: Invalid inputs given to generate an instance of 'TaskInstanceCollectionAllOf'. The input data was invalid for the allOf schema 'TaskInstanceCollectionAllOf' in the composed schema 'TaskInstanceCollection'. Error=Invalid type for variable 'sla_miss'. Required value type is SLAMiss and passed type was NoneType at ['received_data']['task_instances'][0]['sla_miss']
   ```
   
   In the raw json data:
   ```
   ...
   "sla_miss": null,
   ...
   ```
   
   This is using apache-airflow-client 2.3.0 and airflow 2.3.2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow-client-python] csm10495 closed issue #50: SLAMiss not allowing null value

Posted by GitBox <gi...@apache.org>.
csm10495 closed issue #50: SLAMiss not allowing null value
URL: https://github.com/apache/airflow-client-python/issues/50


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow-client-python] csm10495 commented on issue #50: SLAMiss not allowing null value

Posted by GitBox <gi...@apache.org>.
csm10495 commented on issue #50:
URL: https://github.com/apache/airflow-client-python/issues/50#issuecomment-1297705085

   Raised PR for airflow side: https://github.com/apache/airflow/pull/27423 .. after that gets merged, a fresh generation/upversion of the client should get this closed out.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow-client-python] csm10495 commented on issue #50: SLAMiss not allowing null value

Posted by GitBox <gi...@apache.org>.
csm10495 commented on issue #50:
URL: https://github.com/apache/airflow-client-python/issues/50#issuecomment-1315690481

   Fixed in latest merge :) 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow-client-python] csm10495 commented on issue #50: SLAMiss not allowing null value

Posted by GitBox <gi...@apache.org>.
csm10495 commented on issue #50:
URL: https://github.com/apache/airflow-client-python/issues/50#issuecomment-1297691574

   Tried building the latest version of this client from the current latest (219df18414) of airflow... same errror.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org