Oscar Björhn
09/23/2022, 8:25 AMjpuris
09/23/2022, 10:38 AMOscar Björhn
09/23/2022, 10:46 AMjpuris
09/23/2022, 11:01 AMOscar Björhn
09/23/2022, 11:10 AMJustin Trautmann
09/23/2022, 11:41 AMKamil Okáč
09/23/2022, 11:42 AMOscar Björhn
09/23/2022, 11:51 AMToby Rahloff
09/23/2022, 12:09 PMJeff Hale
09/23/2022, 1:40 PMOscar Björhn
09/23/2022, 1:48 PM(all) oz@computer:~/git/analytics$ prefect --help
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
etc...
Failed to parse annotation from 'Subscript' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Subscript' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Subscript' node: 'NoneType' object has no attribute 'resolve'
Usage: prefect [OPTIONS] COMMAND [ARGS]...
Rest of printout omitted
Josh Paulin
09/23/2022, 2:36 PM@inject_client
async def create_then_begin_flow_run(
flow: Flow,
parameters: Dict[str, Any],
return_type: EngineReturnType,
client: OrionClient,
) -> Any:
"""
Async entrypoint for flow calls
Creates the flow run in the backend, then enters the main flow run engine.
"""
# TODO: Returns a `State` depending on `return_type` and we can add an overload to
# the function signature to clarify this eventually.
> connect_error = await client.api_healthcheck()
E AttributeError: 'NoneType' object has no attribute 'api_healthcheck'
Jeff Hale
09/23/2022, 2:39 PMJosh Paulin
09/23/2022, 2:39 PMQ
09/23/2022, 3:04 PMOscar Björhn
09/23/2022, 3:38 PMKevin Wang
09/26/2022, 3:28 PMFailed to parse
lines above
>prefect version
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Subscript' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Subscript' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Name' node: 'NoneType' object has no attribute 'resolve'
Failed to parse annotation from 'Subscript' node: 'NoneType' object has no attribute 'resolve'
Version: 2.4.2
API version: 0.8.0
Python version: 3.10.6
Git commit: 65807e84
Built: Fri, Sep 23, 2022 10:43 AM
OS/Arch: linux/x86_64
Profile: default
Server type: hosted
running the agent still works.. 🙂Jeff Hale
09/26/2022, 8:43 PMOscar Björhn
09/27/2022, 8:40 AMJeff Hale
09/27/2022, 11:59 AM