diffgram / diffgram-cli Goto Github PK
View Code? Open in Web Editor NEWCommand line interface for Diffgram developers
Command line interface for Diffgram developers
So far, you can start docker-compose dev will all the output on the console. However, to stop it you have to press ctrl-c 2 times. This is has something to do with node.js signals (most likely it send 2 signals when running this command through actual CLI)
Since actions were updated, need to update template and add precondition property to the action class
from eventhandlers.action_runners.base.ActionRunner import ActionRunner
from eventhandlers.action_runners.base.ActionTrigger import ActionTrigger
from eventhandlers.action_runners.base.ActionCondition import ActionCondition
from eventhandlers.action_runners.base.ActionCompleteCondition import ActionCompleteCondition
class VertexTrainDatasetAction(ActionRunner):
public_name = 'Vertex Ai Train Dataset'
description = 'Train model with Vertex AI'
icon = 'https://www.svgrepo.com/show/375510/vertexai.svg'
precondition = ActionCondition(default_event = None, event_list = [])
kind = 'VertexTrainDatasetAction' # The kind has to be unique to all actions
category = 'training' # Optional
# What events can this action listen to?
trigger_data = ActionTrigger(default_event = 'some_diffgram_event',
event_list = ['some_diffgram_event'])
# What pre-conditions can this action have?
condition_data = ActionCondition(default_event = 'some_diffgram_event',
event_list = ['some_diffgram_event'])
# How to declare the actions as completed?
completion_condition_data = ActionCompleteCondition(default_event = 'some_diffgram_event',
event_list = ['some_diffgram_event'])
def execute_pre_conditions(self, session) -> bool:
# Return true if no pre-conditions are needed.
return True
def execute_action(self, session):
# Your core Action logic will go here.
pass
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.