<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>《APIFlask：一个基于 Flask 的 Web API 框架》的评论</title>
	<atom:link href="https://greyli.com/hello-apiflask/feed/" rel="self" type="application/rss+xml" />
	<link>https://greyli.com/hello-apiflask/</link>
	<description>一个编程和写作爱好者的在线记事本</description>
	<lastBuildDate>Wed, 05 Nov 2025 16:05:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.26</generator>
	<item>
		<title>作者：李辉</title>
		<link>https://greyli.com/hello-apiflask/#comment-21135</link>
		<dc:creator><![CDATA[李辉]]></dc:creator>
		<pubDate>Mon, 25 Sep 2023 11:59:49 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-21135</guid>
		<description><![CDATA[主要区别是 APIFlask 在实现上是 Flask 的二次封装而不是扩展，以及它的请求/响应处理用 marshmallow]]></description>
		<content:encoded><![CDATA[<p>主要区别是 APIFlask 在实现上是 Flask 的二次封装而不是扩展，以及它的请求/响应处理用 marshmallow</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：halo</title>
		<link>https://greyli.com/hello-apiflask/#comment-21092</link>
		<dc:creator><![CDATA[halo]]></dc:creator>
		<pubDate>Mon, 18 Sep 2023 06:14:30 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-21092</guid>
		<description><![CDATA[flask-restx  老辉写的这个是不是和这个差不多啊]]></description>
		<content:encoded><![CDATA[<p>flask-restx  老辉写的这个是不是和这个差不多啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：zpf</title>
		<link>https://greyli.com/hello-apiflask/#comment-20719</link>
		<dc:creator><![CDATA[zpf]]></dc:creator>
		<pubDate>Mon, 08 May 2023 23:35:53 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-20719</guid>
		<description><![CDATA[apiflask input output 采用类似fastapi的typehint 更优雅，另外想请教怎么上谷歌]]></description>
		<content:encoded><![CDATA[<p>apiflask input output 采用类似fastapi的typehint 更优雅，另外想请教怎么上谷歌</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：meiyujack</title>
		<link>https://greyli.com/hello-apiflask/#comment-20580</link>
		<dc:creator><![CDATA[meiyujack]]></dc:creator>
		<pubDate>Sat, 25 Mar 2023 10:48:48 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-20580</guid>
		<description><![CDATA[学习奋斗ing+加班]]></description>
		<content:encoded><![CDATA[<p>学习奋斗ing+加班</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：meiyujack</title>
		<link>https://greyli.com/hello-apiflask/#comment-20579</link>
		<dc:creator><![CDATA[meiyujack]]></dc:creator>
		<pubDate>Sat, 25 Mar 2023 10:45:10 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-20579</guid>
		<description><![CDATA[辉神大大牛?，为了flask出了一口恶气，支持apiflask项目！在下几经辗转重写，终于还是决定还是试下apiflask~~，最后会留言的。]]></description>
		<content:encoded><![CDATA[<p>辉神大大牛?，为了flask出了一口恶气，支持apiflask项目！在下几经辗转重写，终于还是决定还是试下apiflask~~，最后会留言的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：李辉</title>
		<link>https://greyli.com/hello-apiflask/#comment-19522</link>
		<dc:creator><![CDATA[李辉]]></dc:creator>
		<pubDate>Sat, 22 Oct 2022 14:21:26 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-19522</guid>
		<description><![CDATA[按照设计，这个是框架而不是扩展（见标题）]]></description>
		<content:encoded><![CDATA[<p>按照设计，这个是框架而不是扩展（见标题）</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Stone</title>
		<link>https://greyli.com/hello-apiflask/#comment-19516</link>
		<dc:creator><![CDATA[Stone]]></dc:creator>
		<pubDate>Tue, 18 Oct 2022 12:19:11 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-19516</guid>
		<description><![CDATA[事实上，这看起来不是那么flasky，按照Flask插件的开发惯例，只要在 Flask app 创建后调用一下 插件.init()方法就可以了……]]></description>
		<content:encoded><![CDATA[<p>事实上，这看起来不是那么flasky，按照Flask插件的开发惯例，只要在 Flask app 创建后调用一下 插件.init()方法就可以了……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：io331</title>
		<link>https://greyli.com/hello-apiflask/#comment-12322</link>
		<dc:creator><![CDATA[io331]]></dc:creator>
		<pubDate>Fri, 04 Mar 2022 02:07:34 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-12322</guid>
		<description><![CDATA[看到了，文档里面，没有，示例文件里有，打扰了]]></description>
		<content:encoded><![CDATA[<p>看到了，文档里面，没有，示例文件里有，打扰了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：io331</title>
		<link>https://greyli.com/hello-apiflask/#comment-12321</link>
		<dc:creator><![CDATA[io331]]></dc:creator>
		<pubDate>Fri, 04 Mar 2022 01:30:36 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-12321</guid>
		<description><![CDATA[APIBlueprint API蓝图怎么用，文档中没有示例。]]></description>
		<content:encoded><![CDATA[<p>APIBlueprint API蓝图怎么用，文档中没有示例。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：李辉</title>
		<link>https://greyli.com/hello-apiflask/#comment-9350</link>
		<dc:creator><![CDATA[李辉]]></dc:creator>
		<pubDate>Wed, 17 Nov 2021 01:54:58 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-9350</guid>
		<description><![CDATA[Hello，编程问题麻烦发到 &lt;a href=&quot;https://discuss.helloflask.com&quot; target=&quot;_blank&quot; rel=&quot;noopener nofollow&quot;&gt;HelloFlask 论坛&lt;/a&gt;。]]></description>
		<content:encoded><![CDATA[<p>Hello，编程问题麻烦发到 <a href="https://discuss.helloflask.com" target="_blank" rel="noopener nofollow">HelloFlask 论坛</a>。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：伍个一</title>
		<link>https://greyli.com/hello-apiflask/#comment-8997</link>
		<dc:creator><![CDATA[伍个一]]></dc:creator>
		<pubDate>Tue, 09 Nov 2021 10:01:21 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-8997</guid>
		<description><![CDATA[大佬你好，想问一个apiflask1.0什么时候推出？在github上看排期是到12.31日，

这边是遇到了问题，apiflask.Schema是继承Marshmallow么？但是我这边使用Schema的exclude方法，还有class  Meta的时候有报错，希望有空帮忙解答一下疑问，多谢！！！
```
from apiflask import Schema
from apiflask.fields import Integer, String


# 用户模板类
class UserReq(Schema):
    id = Integer(required=True, description=&quot;ID&quot;),  # ID
    login_name = Integer(required=True, description=&quot;登录名&quot;),  # 登录名
    real_name = String(required=True, description=&quot;所属项目&quot;)  # 姓名
    branch = String(required=True, description=&quot;所属模块&quot;)  # 部门
    phone = String(required=True)  # 手机号
    password = String(required=True)  # 密码
    page = Integer(required=True, description=&quot;page&quot;),  # page
    pageLimit = Integer(required=True, description=&quot;page&quot;),  # pageLimit

if __name__ == &#039;__main__&#039;:
    userData = {&#039;is_delete&#039;: &#039;1&#039;, &#039;id&#039;: 1, &#039;real_name&#039;: &#039;wugeyi&#039;, &#039;branch&#039;: &#039;测试部&#039;, &#039;create_time&#039;: &#039;2021-11-06T11:26:28&#039;,
                &#039;phone&#039;: &#039;123456&#039;, &#039;password&#039;: &#039;123&#039;, &#039;login_name&#039;: &#039;wugeyi&#039;, &#039;user_status&#039;: &#039;0&#039;,
                &#039;update_time&#039;: &#039;2021-11-09T11:27:22&#039;}
    userReq = UserReq()
    print(userReq.load(userData))

-------------------------------------------

marshmallow.exceptions.ValidationError: {&#039;id&#039;: [&#039;Unknown field.&#039;], &#039;create_time&#039;: [&#039;Unknown field.&#039;], &#039;is_delete&#039;: [&#039;Unknown field.&#039;], &#039;user_status&#039;: [&#039;Unknown field.&#039;], &#039;login_name&#039;: [&#039;Unknown field.&#039;], &#039;update_time&#039;: [&#039;Unknown field.&#039;]}




```]]></description>
		<content:encoded><![CDATA[<p>大佬你好，想问一个apiflask1.0什么时候推出？在github上看排期是到12.31日，</p>
<p>这边是遇到了问题，apiflask.Schema是继承Marshmallow么？但是我这边使用Schema的exclude方法，还有class  Meta的时候有报错，希望有空帮忙解答一下疑问，多谢！！！<br />
&#8220;`<br />
from apiflask import Schema<br />
from apiflask.fields import Integer, String</p>
<p># 用户模板类<br />
class UserReq(Schema):<br />
    id = Integer(required=True, description=&#8221;ID&#8221;),  # ID<br />
    login_name = Integer(required=True, description=&#8221;登录名&#8221;),  # 登录名<br />
    real_name = String(required=True, description=&#8221;所属项目&#8221;)  # 姓名<br />
    branch = String(required=True, description=&#8221;所属模块&#8221;)  # 部门<br />
    phone = String(required=True)  # 手机号<br />
    password = String(required=True)  # 密码<br />
    page = Integer(required=True, description=&#8221;page&#8221;),  # page<br />
    pageLimit = Integer(required=True, description=&#8221;page&#8221;),  # pageLimit</p>
<p>if __name__ == &#8216;__main__&#8217;:<br />
    userData = {&#8216;is_delete&#8217;: &#8216;1&#8217;, &#8216;id&#8217;: 1, &#8216;real_name&#8217;: &#8216;wugeyi&#8217;, &#8216;branch&#8217;: &#8216;测试部&#8217;, &#8216;create_time&#8217;: &#8216;2021-11-06T11:26:28&#8217;,<br />
                &#8216;phone&#8217;: &#8216;123456&#8217;, &#8216;password&#8217;: &#8216;123&#8217;, &#8216;login_name&#8217;: &#8216;wugeyi&#8217;, &#8216;user_status&#8217;: &#8216;0&#8217;,<br />
                &#8216;update_time&#8217;: &#8216;2021-11-09T11:27:22&#8217;}<br />
    userReq = UserReq()<br />
    print(userReq.load(userData))</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>marshmallow.exceptions.ValidationError: {&#8216;id&#8217;: [&#8216;Unknown field.&#8217;], &#8216;create_time&#8217;: [&#8216;Unknown field.&#8217;], &#8216;is_delete&#8217;: [&#8216;Unknown field.&#8217;], &#8216;user_status&#8217;: [&#8216;Unknown field.&#8217;], &#8216;login_name&#8217;: [&#8216;Unknown field.&#8217;], &#8216;update_time&#8217;: [&#8216;Unknown field.&#8217;]}</p>
<p>&#8220;`</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：李辉</title>
		<link>https://greyli.com/hello-apiflask/#comment-8242</link>
		<dc:creator><![CDATA[李辉]]></dc:creator>
		<pubDate>Wed, 20 Oct 2021 09:13:20 +0000</pubDate>
		<guid isPermaLink="false">https://greyli.com/?p=3643#comment-8242</guid>
		<description><![CDATA[感谢。反馈可以发到这里：&lt;a href=&quot;https://github.com/greyli/apiflask/discussions&quot; target=&quot;_blank&quot; rel=&quot;noopener nofollow&quot;&gt;https://github.com/greyli/apiflask/discussions&lt;/a&gt;（使用中文或英文都可以）]]></description>
		<content:encoded><![CDATA[<p>感谢。反馈可以发到这里：<a href="https://github.com/greyli/apiflask/discussions" target="_blank" rel="noopener nofollow">https://github.com/greyli/apiflask/discussions</a>（使用中文或英文都可以）</p>
]]></content:encoded>
	</item>
</channel>
</rss>
