Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 63 for dc_string (0.09 seconds)

  1. docs/zh-hant/docs/alternatives.md

    但文件仍然缺失,於是 APISpec 出現了。
    
    它是多個框架的外掛(Starlette 也有對應外掛)。
    
    它的作法是:你在處理路由的每個函式的 docstring 中,用 YAML 格式撰寫結構定義。
    
    然後它會產生 OpenAPI schemas。
    
    在 Flask、Starlette、Responder 等框架中都是這樣運作。
    
    但這又帶來一個問題:在 Python 字串中(大型 YAML)加入一段微語法。
    
    編輯器幫不上太多忙。而且如果我們修改了參數或 Marshmallow 的 schemas 卻忘了同步修改 YAML docstring,產生的結構就會過時。
    
    /// info
    
    APISpec 由與 Marshmallow 相同的開發者創建。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20K bytes
    - Click Count (0)
  2. docs/uk/docs/alternatives.md

    Але документація досі відсутня. Потім було створено APISpec.
    
    Це плагін для багатьох фреймворків (також є плагін для Starlette).
    
    Принцип роботи полягає в тому, що ви пишете визначення схеми, використовуючи формат YAML, у docstring кожної функції, що обробляє маршрут.
    
    І він генерує схеми OpenAPI.
    
    Так це працює у Flask, Starlette, Responder тощо.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 37.2K bytes
    - Click Count (0)
  3. docs/ja/docs/alternatives.md

    しかし、ドキュメントはまだ不足しています。そこでAPISpecが作られました。
    
    これは多くのフレームワーク用のプラグインです (Starlette用のプラグインもあります) 。
    
    仕組みとしては、各ルーティング関数のdocstringにYAML形式でスキーマの定義を記述します。
    
    そして、OpenAPIスキーマを生成してくれます。
    
    Flask, Starlette, Responderなどにおいてはそのように動作します。
    
    しかし、Pythonの文字列 (大きなYAML) の中に、小さな構文があるという問題があります。
    
    エディタでは、この問題を解決することはできません。また、パラメータやMarshmallowスキーマを変更したときに、YAMLのdocstringを変更するのを忘れてしまうと、生成されたスキーマが古くなってしまいます。
    
    /// info | 情報
    
    APISpecは、Marshmallowと同じ開発者により作成されました。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  4. RELEASE.md

            weighting is done on linear magnitude spectra (sqrt of inputs).
        *   Change `tf.contrib.distributions` docstring examples to use `tfd` alias
            rather than `ds`, `bs`.
        *   Fix docstring typos in `tf.distributions.bijectors.Bijector`.
        *   `tf.assert_equal` no longer raises `ValueError.` It now raises
            `InvalidArgumentError,` as documented.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  5. src/cmd/cgo/doc.go

    	// #include <stdio.h>
    	// #include <stdlib.h>
    	//
    	// static void myprint(char* s) {
    	//   printf("%s\n", s);
    	// }
    	import "C"
    	import "unsafe"
    
    	func main() {
    		cs := C.CString("Hello from stdio")
    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    by making copies of the data. In pseudo-Go definitions:
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  6. cmd/xl-storage-format-v2.go

    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  7. tensorflow/c/eager/c_api_test.cc

      const std::string& func_str =
          "    signature {"
          "      name: 'FunctionWith__OP_NAME__'"
          "      output_arg {"
          "        name: 'out'"
          "        type: DT_STRING"
          "      }"
          "    }"
          "    node_def {"
          "      name: 'error_op'"
          "      op: '__OP_NAME__'"
          "    }"
          "    ret {"
          "      key: 'out'"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
  8. docs/en/docs/release-notes.md

    * Add support for truncating docstrings from *path operation functions*.
        * New docs at [Advanced description from docstring](https://fastapi.tiangolo.com/advanced/path-operation-advanced-configuration/#advanced-description-from-docstring).
        * PR [#556](https://github.com/tiangolo/fastapi/pull/556) by [@svalouch](https://github.com/svalouch).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  9. tensorflow/c/c_api.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/c_api.h"
    
    #include <algorithm>
    #include <cstring>
    #include <limits>
    #include <memory>
    #include <optional>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/match.h"
    // Required for IS_MOBILE_PLATFORM
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  10. cmd/testdata/undeleteable-object.tgz

    y":"keep_alive_interval","value":"0s"},{"key":"reconnect_interval","value":"0s"},{"key":"queue_dir","value":""},{"key":"queue_limit","value":"0"}]},"notify_mysql":{"_":[{"key":"enable","value":"off"},{"key":"format","value":"namespace"},{"key":"dsn_string","value":""},{"key":"table","value":""},{"key":"queue_dir","value":""},{"key":"queue_limit","value":"0"},{"key":"max_open_connections","value":"2"}]},"notify_nats":{"_":[{"key":"enable","value":"off"},{"key":"address","value":""},{"key":"subjec...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Click Count (0)
Back to Top