![]() To be eligible for trade-in, your qualifying device must meet all Trade-In Program eligibility requirements, which include, but are not limited to, that the device powers on, holds a charge, and does not power off unexpectedly has a functioning display has no breaks or cracks in the screen (unless a cracked screen offer applies) has no breaks or cracks in the case has no liquid damage (whether visible or not) has no other defects that go beyond normal wear and tear is not on a black list has a verified FCC ID has been reset to factory settings has all personal information removed has all software locks disabled and is owned by you (leased devices are not eligible). Device models that currently qualify for trade-in and trade-in credit amounts associated with those models are available on and the Shop Samsung App eligible models and amounts may change at Samsung's sole discretion. It’s possible to see the output of the task:Īn alternative to the UI, when it comes to unpause and trigger and DAG, is straightforward.ᶿFor a limited time only, on /Shop Samsung App, pre-order or purchase a new qualifying Galaxy device ("Qualifying Purchase"), send in your qualifying trade-in device to Samsung through the Samsung Trade-In Program, and if Samsung determines your trade-in device meets all eligibility requirements, you will receive a trade-in credit specific to your qualifying trade-in device to apply toward your Qualifying Purchase. ![]() Inside Graph View, click on task_2, and click Log. Heading over to the Graph View, we can see that both tasks ran successfully □:īut what about the printed output of task_2, which shows a randomly generated number? We can check that in the logs. Having triggered a new run, you’ll see that the DAG is running: Now we enable the DAG (1) and trigger it (2), so it can run right away:Ĭlick the DAG ID (in this case, called EXAMPLE_simple), and you’ll see the Tree View. In this example, I’ve run the DAG before (hence some columns already have values), but you should have a clean slate. ![]() Run via UI #įirst, you should see the DAG on the list: There are two options to unpause and trigger the DAG: we can use Airflow webserver’s UI or the terminal. Now we need to unpause the DAG and trigger it if we want to run it right away. Once the DAG definition file is created, and inside the airflow/dags folder, it should appear in the list. # Task_2 then uses the result from task_1. # As you can see, task_2 runs after task_1 is done. # This will determine the direction of the tasks. # Print the random number to the logs print(f 'The randomly generated number is. # Generate a random number return def task_2(value): # In this case it's called `EXAMPLE_simple`. # The function name will be the ID of the DAG. =None, start_date =days_ago( 2), catchup =False) # It's possible to set the schedule_interval to None (without quotes). ![]() # Use the DAG decorator from Airflow # means the DAG will run everyday at midnight. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |