Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nomad-FAIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
nomad-FAIR
Commits
14ef76d8
Commit
14ef76d8
authored
5 years ago
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Save not print data in AT python example code.
parent
d87b494e
No related branches found
No related tags found
1 merge request
!79
Release v0.7.2
Pipeline
#67460
passed
5 years ago
Stage: build
Stage: test
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nomad/app/api/common.py
+1
-1
1 addition, 1 deletion
nomad/app/api/common.py
with
1 addition
and
1 deletion
nomad/app/api/common.py
+
1
−
1
View file @
14ef76d8
...
@@ -268,7 +268,7 @@ def query_api_python(*args, **kwargs):
...
@@ -268,7 +268,7 @@ def query_api_python(*args, **kwargs):
url
=
query_api_url
(
*
args
,
**
kwargs
)
url
=
query_api_url
(
*
args
,
**
kwargs
)
return
'''
import requests
return
'''
import requests
response = requests.get(
"
{}
"
)
response = requests.get(
"
{}
"
)
response.json()
'''
.
format
(
url
)
data =
response.json()
'''
.
format
(
url
)
def
query_api_curl
(
*
args
,
**
kwargs
):
def
query_api_curl
(
*
args
,
**
kwargs
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment