-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
87 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
exclude = .git,__pychache__,app/static/raw_docs | ||
extend-ignore = E203 | ||
max-line-length = 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"""initial_autogen | ||
Revision ID: 0cb715a5aac5 | ||
Revises: | ||
Revises: | ||
Create Date: 2022-09-28 11:30:45.896529 | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
description = """ | ||
This API provides information about Magic: the Gathering rules and policy documents. It was | ||
primarily created to serve the [Academy Ruins](https://academyruins.com) project and the [Fryatog]( | ||
https://github.com/Fryyyyy/Fryatog/) rules bot, but it has found other uses since. You can find the source for the | ||
This API provides information about Magic: the Gathering rules and policy documents. It was | ||
primarily created to serve the [Academy Ruins](https://academyruins.com) project and the [Fryatog]( | ||
https://github.com/Fryyyyy/Fryatog/) rules bot, but it has found other uses since. You can find the source for the | ||
project on [GitHub](https://github.com/lunakv/academyruins-api). | ||
## Response Encoding and Formatting | ||
All text responses returned by this API are guaranteed to be served in the form of UTF-8 encoded strings without a | ||
BOM with LF (0x0A) line endings. *(Some very old CR text files may not yet be fully converted to this format)* Note | ||
that the `/link` routes simply redirect to content hosted by other parties, and as such this API cannot make any | ||
guarantees about their format. | ||
All text responses returned by this API are guaranteed to be served in the form of UTF-8 encoded strings without a | ||
BOM with LF (0x0A) line endings. *(Some very old CR text files may not yet be fully converted to this format)* Note | ||
that the `/link` routes simply redirect to content hosted by other parties, and as such this API cannot make any | ||
guarantees about their format. | ||
The API preserves all typography extracted from the source files. This means using—among other things—“angled | ||
quotation marks” and apostrophes, actual en and em dashes where appropriate, real ™ and ® symbols, etc. If you're | ||
going to display data obtained by this API, make sure you’re able to handle characters outside of the standard ASCII | ||
The API preserves all typography extracted from the source files. This means using—among other things—“angled | ||
quotation marks” and apostrophes, actual en and em dashes where appropriate, real ™ and ® symbols, etc. If you're | ||
going to display data obtained by this API, make sure you’re able to handle characters outside of the standard ASCII | ||
range. """ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
import datetime | ||
from typing import Union | ||
|
||
import pydantic | ||
from pydantic import BaseModel | ||
|
||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters