Skip to main content

Server Guide

The Server concept is quite simple. A server needs to have a two functions:

  • server.start
  • server.stop

Server Example#

Python
from frictionless import Server
class ApiServer(Server):
# Start
def start(self, *, port):
app = create_api()
# This function create a Flask app
server = create_server(app, port=port)
# This functio runs it
server.run()
Last updated on by roll