Giacomo Chiarella
05/08/2023, 11:08 AMYing Ting Loo
05/09/2023, 6:49 AM>prefect version
Version: 2.8.7
API version: 0.8.4
Python version: 3.10.10
Built: Thu, Mar 23, 2023 3:27 PM
OS/Arch: linux/x86_64
Profile: default
Server type: ephemeral
Server:
Database: postgresql
Austin Weisgrau
05/10/2023, 10:51 PMGiacomo Chiarella
05/11/2023, 7:05 AMDave Wei
05/15/2023, 9:14 PMJeff Katz
05/16/2023, 2:28 PMAshe
05/18/2023, 2:40 PMdef get_logger(name):
logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG) # Or any level you want
# Create a console handler
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG) # Or any level you want
# Create a formatter
formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
# Add the formatter to the handler
ch.setFormatter(formatter)
# Add the handler to the logger
logger.addHandler(ch)
return logger
Ashe
05/18/2023, 5:56 PMpost
request (maybe using graphql? this is removed: https://docs.prefect.io/latest/api/graphql/) 🙏Rajvir Jhawar
05/18/2023, 9:20 PMNATCHKEBIA ILIA
05/19/2023, 7:36 AMDeceivious
05/19/2023, 2:04 PMMichał Augoff
05/19/2023, 5:12 PMrun_deployment
as a task in 2.10.10 and seeing a few weird things in the UI (see the video for more context):
1. Not related to deployments but worth mentioning - No arrows between tasks with input-output dependencies (code in the comment). I saw this problem being mentioned a few times in the channel but there was no response
2. The details window for subflows is empty, but it works for tasks in subflows
3. The subflow run name is different from the “run_deloyment” task responsible for running that subflow, which is unintuitive (I use flow_run_name
to specify the subflow run name with run_deployment
)
4. The parent flow is missing name in the subflow view
5. The graph doesn’t change when entering subflows - not sure if this is desired
run_deployment(
name=f"run-process/deployment-1",
flow_run_name="1"
)
Faheem Khan
05/21/2023, 12:43 AMNick
05/22/2023, 7:57 AMimran
05/22/2023, 9:18 AMRoss Leung
05/23/2023, 9:46 PMAndrew Richards
05/24/2023, 4:28 PMRam
05/25/2023, 11:43 AMNicola Pancotti
05/26/2023, 5:44 PMAby
05/29/2023, 2:21 AMRobert Esteves
06/05/2023, 7:16 PMMoty
06/08/2023, 9:14 AMMoty
06/08/2023, 9:36 AMDaniel Lomartra
06/10/2023, 12:30 AMraki
06/10/2023, 1:25 PMMarc
06/11/2023, 5:06 AMMarc
06/11/2023, 5:10 AMMarc
06/11/2023, 5:13 AMJohn Mizerany
06/12/2023, 1:10 PMBlake List
06/13/2023, 1:41 AM