arago / graphit-tool Goto Github PK
View Code? Open in Web Editor NEW(Unofficial) Python library to work with the HIRO Graph, a semantic datastore for the arago HIRO Automation Platform.
Home Page: https://arago.co
License: MIT License
(Unofficial) Python library to work with the HIRO Graph, a semantic datastore for the arago HIRO Automation Platform.
Home Page: https://arago.co
License: MIT License
Great piece of code!
When trying to use the tool, I got a timeout error for WSO2 connection (using DNS, not /etc/hosts):
Could not connect to WSO2: ('Connection aborted.', DNSError(67, 'request timed out'))
I looked at the configuration files and everything was just fine (graphit-tool.py was working before!).
After reviewing the code and debugging the connection to IAM, I found that the first time it tried to connect, it failed with a timeout, the WSO2 logs did not show any attempt to connect (usually would get a 401 error), but if you send a second request to connect it would take it (200).
Quick ugly workaround:
try:
session.auth = WSO2AuthClientCredentials(
config.get('wso2', 'url'),
client = (
config.get('wso2', 'clientid'),
config.get('wso2', 'clientsecret')
),
verify=wso2_verify)
except:
try:
session.auth = WSO2AuthClientCredentials(
config.get('wso2', 'url'),
client = (
config.get('wso2', 'clientid'),
config.get('wso2', 'clientsecret')
),
verify=wso2_verify)
except WSO2Error as e:
print >>sys.stderr, e
sys.exit(10)
Looping would get it to work.
Root cause is gevent/gevent#21
Message to myself: Look into updating gevent.
Hi, I tried to use graphit-tool.py to do some query like below:
AND NOT /MasterIssueID: * AND NOT ogit/_id:"cjhuol7om2sixbx421kvxfakx"
the above is from a KI, how can I query the 'AND NOT' using graphit-tool.py
please advise, many thanks,
Hi,
I want to know Can I create any variable or update any variable for an issue when issue is in processing state.
For example:
My issue is in pending state because a variable whose value is "NO" and now issue will process further if I changed the value of the variable to "YES".
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.