@@ -184,7 +184,7 @@ async def create_content(
184184 async def get_local_media (
185185 self , request : Request , media_id : str , name : Optional [str ]
186186 ) -> None :
187- """Responds to reqests for local media, if exists, or returns 404.
187+ """Responds to requests for local media, if exists, or returns 404.
188188
189189 Args:
190190 request: The incoming request.
@@ -306,7 +306,7 @@ async def _get_remote_media_impl(
306306 media_info = await self .store .get_cached_remote_media (server_name , media_id )
307307
308308 # file_id is the ID we use to track the file locally. If we've already
309- # seen the file then reuse the existing ID, otherwise genereate a new
309+ # seen the file then reuse the existing ID, otherwise generate a new
310310 # one.
311311
312312 # If we have an entry in the DB, try and look for it
@@ -927,10 +927,10 @@ class MediaRepositoryResource(Resource):
927927
928928 <thumbnail>
929929
930- The thumbnail methods are "crop" and "scale". "scale" trys to return an
930+ The thumbnail methods are "crop" and "scale". "scale" tries to return an
931931 image where either the width or the height is smaller than the requested
932932 size. The client should then scale and letterbox the image if it needs to
933- fit within a given rectangle. "crop" trys to return an image where the
933+ fit within a given rectangle. "crop" tries to return an image where the
934934 width and height are close to the requested size and the aspect matches
935935 the requested size. The client should scale the image if it needs to fit
936936 within a given rectangle.
0 commit comments