aliyun / aliyun/algorithm-base

关于日志文件和接口地址问题

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
95
Forks
23
PR merge metrics
No merged PRs in 30d

Description

您好:
您这个项目非常棒,正是我苦苦寻找的一个东西。说明文件也很丰富,我很快就搭建了系统。目前存在两个问题,期待您的回答:
1、项目使用pyab启动后,我用postman发送/api/algorithm/add请求,怎么找不到日志文件?是不是还需要修改什么配置。
2、默认在algorithms文件夹下定义函数,框架会自动暴露接口,接口名取得是函数名,能否通过注释增加地址?比如demo.py中,默认的接口地址/api/algorithm/add,能否通过注释或其他方法,将其变为/api/algorithm/math/add

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the /api/algorithm/add request through the pyab startup path and inspect the algorithms directory and demo.py mentioned in the issue. Determine where logs are expected and whether endpoint names can be changed through comments or another configuration; done when both behaviors have a documented or implemented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
postman, python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.