Tent.js
DocsBlogReleases

Start with

  • Installationtopic.start
  • The wordstopic.words
  • Plans: how rows are asked fortopic.plans
  • Screen files and stubstopic.screens
  • Tests of an apptopic.tests
Light or dark
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Tent.js

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
    • put
    • python
      • about
      • access
      • atOnce
      • background
      • batch
      • callerGone
      • changes
      • countBy
      • danger
      • deprecated
      • file
      • files
      • follow
      • gpu
      • input
      • limits
      • lock
      • offer
      • output
      • packages
      • remember
      • rows
      • sends
      • system
      • uses
      • was
      • worker
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes
DocsOptions

Option

output of python

The type of the answer.

Value

A type. It is required.

Example

TypeScript
export const churn = python('churn', {
  file: 'ml/churn.py',
  input: { team: link('teams') },
  output: object({ risk: number() }),
  access: role('staff'),
})

See also

word.python

On this page

  • Value
  • Example
  • See also
Tent.js
DocsBlogReleasesGitHub
Tent.js
  • Getting started
  • Core ideas
  • Data
  • Screens
  • Work
  • Testing
  • Running an app
  • Building on Tent.js

Reference

  • Words
    • action
    • agent
    • allow
    • anyone
    • asset
    • avg
    • backfill
    • between
    • boolean
    • calc
    • caller
    • ceil
    • change
    • choice
    • chunks
    • col
    • command
    • component
    • concat
    • contains
    • count
    • cron
    • date
    • day
    • dayOf
    • del
    • each
    • earlier
    • emit
    • evals
    • event
    • every
    • expect
    • fail
    • file
    • fingerprint
    • floor
    • flow
    • get
    • given
    • incoming
    • input
    • join
    • json
    • judge
    • later
    • least
    • link
    • list
    • lower
    • max
    • message
    • messages
    • min
    • model
    • most
    • noOtherPeople
    • noPersonal
    • now
    • number
    • object
    • optimistic
    • patch
    • post
    • project
    • put
    • python
      • about
      • access
      • atOnce
      • background
      • batch
      • callerGone
      • changes
      • countBy
      • danger
      • deprecated
      • file
      • files
      • follow
      • gpu
      • input
      • limits
      • lock
      • offer
      • output
      • packages
      • remember
      • rows
      • sends
      • system
      • uses
      • was
      • worker
    • query
    • random
    • range
    • read
    • request
    • role
    • round
    • route
    • s3
    • sameSecret
    • screen
    • secret
    • seed
    • service
    • setting
    • slice
    • start
    • startsWith
    • sum
    • table
    • testApp
    • text
    • token
    • trim
    • upper
    • vector
    • verified
    • where
  • Tags
  • Hooks
  • Handles
  • Adapters
  • Commands
  • Codes