This repository has been archived on 2025-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
BreCal/src/server/BreCal/api/berths.py

14 lines
346 B
Python

from flask import Blueprint, request
from webargs.flaskparser import parser
from marshmallow import Schema, fields
from ..schemas import model
from .. import impl
bp = Blueprint('berths', __name__)
@bp.route('/berths', methods=['get'])
def GetBerths():
token = request.headers.get('Authentication')
return impl.berths.GetBerths(token)