Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commission step can be missing when parsing from Open Data for live texts #19

Open
mdamien opened this issue Nov 21, 2018 · 0 comments
Open
Labels

Comments

@mdamien
Copy link
Member

mdamien commented Nov 21, 2018

> anpy-cli parse http://www.assemblee-nationale.fr/dyn/15/dossiers/amelioration_tresorerie_associations
[
    {
        "assemblee_id": "15-amelioration_tresorerie_associations",
        "assemblee_legislature": 15,
        "assemblee_slug": "amelioration_tresorerie_associations",
        "beginning": "2018-10-17",
        "long_title": "Société : amélioration de la trésorerie des associations",
        "proposal_type": "PPL",
        "steps": [
            {
                "date": "2018-10-17",
                "id_opendata": "L15-VD187069DI",
                "institution": "assemblee",
                "source_url": "http://www.assemblee-nationale.fr/15/propositions/pion1329.asp",
                "stage": "1ère lecture",
                "step": "depot"
            },
            {
                "date": "2018-11-29",
                "id_opendata": "L15-VD187234S36552",
                "institution": "assemblee",
                "stage": "1ère lecture",
                "step": "hemicycle"
            }
        ],
        "urgence": false,
        "url_dossier_assemblee": "http://www.assemblee-nationale.fr/dyn/15/dossiers/amelioration_tresorerie_associations"
    }
]

Would be a good opportunity to add regression testing to the open data parser too.

@mdamien mdamien added the bug label Nov 21, 2018
@mdamien mdamien closed this as completed Nov 21, 2018
@mdamien mdamien reopened this Nov 23, 2018
mdamien added a commit that referenced this issue Nov 23, 2018
Introduced a regression where the parsing stopped very early,
returning almost empty doslegs.

This reverts commit 145dfca.
@mdamien mdamien changed the title Commission step can be missing when parsing from Open Data Commission step can be missing when parsing from Open Data for live texts Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant