Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /DiamondLightSource_python-murfey /src /murfey /instrument_server /main.py
| from __future__ import annotations | |
| import logging | |
| from fastapi import FastAPI | |
| from fastapi.middleware.cors import CORSMiddleware | |
| from murfey.instrument_server.api import router | |
| log = logging.getLogger("murfey.instrument_server.main") | |
| app = FastAPI(title="Murfey instrument server", debug=True) | |
| app.add_middleware( | |
| CORSMiddleware, | |
| allow_origins=["*"], | |
| allow_credentials=True, | |
| allow_methods=["*"], | |
| allow_headers=["*"], | |
| ) | |
| app.include_router(router) | |
Xet Storage Details
- Size:
- 473 Bytes
- Xet hash:
- 525a6cab6c27fd5cc5f544924729f594883867ee6c77747ddc0e7b0dc649f776
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.